Back to project page android4tv-example1.
The source code is released under:
Apache License
If you think the Android project android4tv-example1 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.iwedia.callbacks; //from w ww . j av a 2 s.co m import android.util.Log; import com.iwedia.dtv.DVBManager; import com.iwedia.dtv.epg.IEpgCallback; import com.iwedia.dtv.types.InternalException; public class EPGCallBack implements IEpgCallback { private static final String TAG = "EPGCallBack"; private DVBManager mDVBManager = null; public EPGCallBack() { try { mDVBManager = DVBManager.getInstance(); } catch (InternalException e) { Log.w(TAG, "There was an Internal Error.", e); } } @Override public void pfAcquisitionFinished(int arg0, int arg1) { if (mDVBManager != null) { mDVBManager.udpateNowNext(); } } @Override public void pfEventChanged(int arg0, int arg1) { if (mDVBManager != null) { mDVBManager.udpateNowNext(); } } @Override public void scAcquisitionFinished(int arg0, int arg1) { } @Override public void scEventChanged(int arg0, int arg1) { } }