public interface

IParentalControlDvb

com.iwedia.dtv.parental.dvb.IParentalControlDvb
Known Indirect Subclasses

Summary

Nested Classes
class IParentalControlDvb.Stub Local-side IPC implementation stub class. 
Public Methods
abstract boolean checkPinCode(int pinCode)
Checks if entered PIN is valid.
abstract boolean getChannelLock(int serviceIndex)
Gets channel lock status.
abstract ParentalLockAge getCurrentProgramParental(int serviceIndex)
Gets parental lock age for specified service current program (viewer age limit).
abstract ParentalLockAge getParentalRate()
Gets currently setted parental lock rate type (sets viewer age limit).
abstract int registerCallback(IParentalCallbackDvb parentalCallback)
abstract A4TVStatus setChannelLock(int serviceIndex, boolean lockStatus)
Sets the channel lock status.
abstract A4TVStatus setParentalRate(ParentalLockAge parentalRate)
Sets parental lock rate type (sets viewer age limit).
abstract A4TVStatus setPinCode(int pinCode)
Sets parental control PIN.
abstract A4TVStatus unregisterCallback(int id)
Unregisters parental control callback method.

Public Methods

public abstract boolean checkPinCode (int pinCode)

Checks if entered PIN is valid.

Parameters
pinCode - Pin to check.
Returns
  • True if specified PIN is correct, false otherwise.
Throws
RemoteException

public abstract boolean getChannelLock (int serviceIndex)

Gets channel lock status.

Parameters
serviceIndex - Index of the service to check lock status.
Returns
  • Returns true if channel if locked, false otherwise.
Throws
RemoteException

public abstract ParentalLockAge getCurrentProgramParental (int serviceIndex)

Gets parental lock age for specified service current program (viewer age limit).

Parameters
serviceIndex - Master index of the service (channel) to be checked.
Returns
  • Parental lock age android.dtv.parental.dvb.ParentalLockAge.
Throws
RemoteException

public abstract ParentalLockAge getParentalRate ()

Gets currently setted parental lock rate type (sets viewer age limit).

Returns
  • Returns currently set age lock type (parental rate limit) android.dtv.parental.dvb.ParentalLockAge.
Throws
RemoteException

public abstract int registerCallback (IParentalCallbackDvb parentalCallback)

Throws
RemoteException

public abstract A4TVStatus setChannelLock (int serviceIndex, boolean lockStatus)

Sets the channel lock status.

Parameters
serviceIndex - Index of the service to be locked/unlocked.
lockStatus - New service status to be set.
Throws
RemoteException

public abstract A4TVStatus setParentalRate (ParentalLockAge parentalRate)

Sets parental lock rate type (sets viewer age limit).

Parameters
parentalRate - New parental rate android.dtv.parental.dvb.ParentalLockAge.
Throws
RemoteException

public abstract A4TVStatus setPinCode (int pinCode)

Sets parental control PIN.

Parameters
pinCode - New pin code.
Throws
RemoteException

public abstract A4TVStatus unregisterCallback (int id)

Unregisters parental control callback method.

Throws
RemoteException