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; /*from w ww . java2 s . c o m*/ public class Player { public final Playlist playlist; public final Video videoPlayer; public Kodi kodi; private int mId; private int mSpeed; private int mPosition; private String mType = ""; private int mTotalTimeHash; private int mTotalSec; private int mTotalMin; private int mTotalH; private int mCurSec; private int mCurMin; private int mcurH; public Player() { mId = 0; mPosition = -1; playlist = new Playlist(); videoPlayer = new Video(); } public boolean isNewTotalTime(int newHash) { return (mTotalTimeHash != newHash); } public void setTotalTimeHash(int totalTimeHash) { this.mTotalTimeHash = totalTimeHash; } public int getTotalSec() { return mTotalSec; } public void setTotalSec(int totalSec) { this.mTotalSec = totalSec; } public int getTotalMin() { return mTotalMin; } public void setTotalMin(int totalMin) { this.mTotalMin = totalMin; } public int getTotalH() { return mTotalH; } public void setTotalH(int totalH) { this.mTotalH = totalH; } public int getCurSec() { return mCurSec; } public void setCurSec(int curSec) { this.mCurSec = curSec; } public int getCurMin() { return mCurMin; } public void setCurMin(int curMin) { this.mCurMin = curMin; } public int getCurH() { return mcurH; } public void setCurH(int curH) { this.mcurH = curH; } public String getType() { return mType; } public void setType(String type) { this.mType = type; } public int getId() { return this.mId; } public void setId(int id) { this.mId = id; } public int getSpeed() { return mSpeed; } public void setSpeed(int speed) { this.mSpeed = speed; } public int getPosition() { return mPosition; } public void setPosition(int position) { this.mPosition = position; } }