Back to project page Android-Apps.
The source code is released under:
Apache License
If you think the Android project Android-Apps listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.kniezrec.xbmcgear.player; // w w w . j a va 2 s .c o m import com.kniezrec.xbmcgear.connection.GearJSON; public class Video { private int mVideoPlayerHash; private String mTitle = ""; private String mShowtitle = ""; public String getTitle() { return mTitle; } public void setTitle(String title) { this.mTitle = title; mVideoPlayerHash = title.hashCode(); } public String getShowTitle() { return mShowtitle; } public void setShowTitle(String showTitle) { this.mShowtitle = showTitle; } public boolean isNewVideo(int newHash) { return (mVideoPlayerHash != newHash); } public String getVideoTitleJSON() { return GearJSON.getJSONVideo(mTitle, mShowtitle); } }