Android Open Source - android4tv-example4 E P G Call Back






From Project

Back to project page android4tv-example4.

License

The source code is released under:

Apache License

If you think the Android project android4tv-example4 listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.iwedia.exampleip.callbacks;
/* ww  w .  ja  va2  s. co  m*/
import com.iwedia.dtv.epg.IEpgCallback;
import com.iwedia.exampleip.dtv.DVBManager;

public class EPGCallBack implements IEpgCallback {
    private static final String TAG = "EPGCallBack";
    private DVBManager mDVBManager = null;
    public static EPGCallBack sInstance = null;

    public static EPGCallBack getInstance() {
        if (sInstance == null) {
            sInstance = new EPGCallBack();
        }
        return sInstance;
    }

    private EPGCallBack() {
        mDVBManager = DVBManager.getInstance();
    }

    @Override
    public void pfAcquisitionFinished(int arg0, int arg1) {
        if (mDVBManager != null) {
            mDVBManager.updateNowNext();
        }
    }

    @Override
    public void pfEventChanged(int arg0, int arg1) {
        if (mDVBManager != null) {
            mDVBManager.updateNowNext();
        }
    }

    @Override
    public void scAcquisitionFinished(int arg0, int arg1) {
    }

    @Override
    public void scEventChanged(int arg0, int arg1) {
    }
}




Java Source Code List

com.iwedia.custom.EnterPinDialog.java
com.iwedia.custom.SoftwareVersionDialog.java
com.iwedia.exampleip.ChannelListDialog.java
com.iwedia.exampleip.DTVActivity.java
com.iwedia.exampleip.TeletextActivity.java
com.iwedia.exampleip.adapters.ChannelListAdapter.java
com.iwedia.exampleip.callbacks.EPGCallBack.java
com.iwedia.exampleip.callbacks.ParentalCallback.java
com.iwedia.exampleip.dtv.ChannelInfo.java
com.iwedia.exampleip.dtv.DVBManager.java
com.iwedia.exampleip.dtv.IPService.java
com.iwedia.exampleip.dtv.ParentalManager.java
com.iwedia.exampleip.dtv.TeletextSubtitleAudioManager.java