public interface

IServiceControl

com.iwedia.dtv.service.IServiceControl
Known Indirect Subclasses

Class Overview

A Service list. It holds the list of available services.

Summary

Nested Classes
class IServiceControl.Stub Local-side IPC implementation stub class. 
Public Methods
abstract A4TVStatus addServiceInServiceList(int listIndex, int serviceIndex)
Add service to favorites list.
abstract int createServiceList(String name)
abstract A4TVStatus deleteServiceFromServiceList(int listIndex, int serviceIndex)
Deletes service from favorites list.
abstract A4TVStatus deleteServiceList(int listIndex)
Deletes favorite list.
abstract A4TVStatus deleteServiceListByRetransmissionType(int retransmissionType)
deleteServiceListByRetransmissionType
abstract A4TVStatus filterServiceList(int srcListIndex, int destListIndex, ServiceListFilterSet filter)
Filter service list by 'filter'.
abstract Service getActiveService(int routeID)
Get current active service.
abstract A4TVStatus getCurrentCopyControlInfo(CopyControlInfo copyControlInfo)
Get copy control index for currently active service.
abstract ExtendedServiceInfo getExtendedServiceInfo(int listIndex, int serviceIndex)
abstract Service getLastPlayedListAndService(int routeID)
Returns index of last played service and used list.
abstract int getNumberOfServiceLists()
abstract int getPrefferedScannedService()
abstract ServiceDescriptor getServiceDescriptor(int listIndex, int serviceIndex)
Returns service descriptor for the given index.
abstract int getServiceIndexByLCN(int listIndex, int serviceLCN)
abstract int getServiceListCount(int listIndex)
abstract int getServiceListIndex(String listName)
abstract String getServiceListName(int listIndex)
abstract A4TVStatus movePointedService(int listIndex, int pointedServiceIndex, int movedServiceIndex)
Changes position of desired service.
abstract int registerCallback(IServiceCallback serviceCallback)
abstract A4TVStatus renameList(int listIndex, String newListName)
Renames service list.
abstract A4TVStatus renameService(int listIndex, int serviceIndex, String newServiceName)
Renames desired service.
abstract A4TVStatus setIsVODPlayback(int routeID, boolean isVODPlayback)
Sets if IP playback is VOD or Live.
abstract A4TVStatus sortServiceList(int listIndex, SortCriteria mode)
Sorts given list by the given parameter SortCriteria.
abstract A4TVStatus startPretune(int routeID, int listIndex, int serviceIndex)
@param
abstract A4TVStatus startPrimer(int routeID, int listIndex, int serviceIndex)
@param
abstract A4TVStatus startService(int routeID, int listIndex, int serviceIndex)
Switch to service with given serviceIndex.
abstract A4TVStatus stopPretune(int routeID)
@param
abstract A4TVStatus stopPrimer(int routeID)
@param
abstract A4TVStatus stopService(int routeID)
Stops the active service.
abstract A4TVStatus storeLastPlayedListAndService(int routeID, Service last)
Stores last used list and service index into storage device.
abstract A4TVStatus unregisterCallback(int id)
Unregisters service callback method.
abstract A4TVStatus zapCableVOD(int routeID, int serviceID, TunerSettings tunerSettings)
Set DVB cable VOD active service according to the provided frequency, modulation and symbol rate.
abstract A4TVStatus zapURL(int routeID, String url)
Set active service according to the provided url.

Public Methods

public abstract A4TVStatus addServiceInServiceList (int listIndex, int serviceIndex)

Add service to favorites list.

Parameters
listIndex - Index of list where service should be inserted.
serviceIndex - Index of service to insert.
Throws
RemoteException

public abstract int createServiceList (String name)

Throws
RemoteException

public abstract A4TVStatus deleteServiceFromServiceList (int listIndex, int serviceIndex)

Deletes service from favorites list.

Parameters
listIndex - Index of list where service is located.
serviceIndex - index of the service to delete.
Throws
RemoteException

public abstract A4TVStatus deleteServiceList (int listIndex)

Deletes favorite list.

Parameters
listIndex - Index of list.
Throws
RemoteException

public abstract A4TVStatus deleteServiceListByRetransmissionType (int retransmissionType)

deleteServiceListByRetransmissionType

Throws
RemoteException

public abstract A4TVStatus filterServiceList (int srcListIndex, int destListIndex, ServiceListFilterSet filter)

Filter service list by 'filter'.

Parameters
srcListIndex - List's index from which will be used services by filter.
destListIndex - List's index in which will be stored services.
filter - Criteria of filtering. See ServiceListFilterSet.
Throws
RemoteException

public abstract Service getActiveService (int routeID)

Get current active service.

Parameters
routeID - Route ID.
Returns
  • Current active service object Service.
Throws
RemoteException

public abstract A4TVStatus getCurrentCopyControlInfo (CopyControlInfo copyControlInfo)

Get copy control index for currently active service.

Throws
RemoteException

public abstract ExtendedServiceInfo getExtendedServiceInfo (int listIndex, int serviceIndex)

Throws
RemoteException

public abstract Service getLastPlayedListAndService (int routeID)

Returns index of last played service and used list.

Parameters
routeID - Route ID.
Returns
  • Object of last played service. See Service.
Throws
RemoteException

public abstract int getNumberOfServiceLists ()

Throws
RemoteException

public abstract int getPrefferedScannedService ()

Throws
RemoteException

public abstract ServiceDescriptor getServiceDescriptor (int listIndex, int serviceIndex)

Returns service descriptor for the given index.

Parameters
listIndex - Index of desired list.
serviceIndex - Index of service you want to get.
Returns
Throws
RemoteException

public abstract int getServiceIndexByLCN (int listIndex, int serviceLCN)

Throws
RemoteException

public abstract int getServiceListCount (int listIndex)

Throws
RemoteException

public abstract int getServiceListIndex (String listName)

Throws
RemoteException

public abstract String getServiceListName (int listIndex)

Throws
RemoteException

public abstract A4TVStatus movePointedService (int listIndex, int pointedServiceIndex, int movedServiceIndex)

Changes position of desired service.

Parameters
listIndex - Index of list where service is located.
pointedServiceIndex - Index of service.
movedServiceIndex - Index of new service position.
Throws
RemoteException

public abstract int registerCallback (IServiceCallback serviceCallback)

Throws
RemoteException

public abstract A4TVStatus renameList (int listIndex, String newListName)

Renames service list.

Parameters
listIndex - Index of list you want to sort.
newListName - New name of current list.
Throws
RemoteException

public abstract A4TVStatus renameService (int listIndex, int serviceIndex, String newServiceName)

Renames desired service.

Parameters
listIndex - Index of list where service is located.
serviceIndex - Index of service.
newServiceName - New name of service.
Throws
RemoteException

public abstract A4TVStatus setIsVODPlayback (int routeID, boolean isVODPlayback)

Sets if IP playback is VOD or Live.

Parameters
isVODPlayback - TRUE for VOD playback, FALSE for IP Live.
Throws
RemoteException

public abstract A4TVStatus sortServiceList (int listIndex, SortCriteria mode)

Sorts given list by the given parameter SortCriteria.

Parameters
listIndex - Index of list you want to sort.
mode - Mode by witch you want to sort list. See SortCriteria.
Throws
RemoteException

public abstract A4TVStatus startPretune (int routeID, int listIndex, int serviceIndex)

@param

Throws
RemoteException

public abstract A4TVStatus startPrimer (int routeID, int listIndex, int serviceIndex)

@param

Throws
RemoteException

public abstract A4TVStatus startService (int routeID, int listIndex, int serviceIndex)

Switch to service with given serviceIndex. Applies only on active service list.

Parameters
routeID - Route ID.
listIndex - Index of service list you want to make active.
serviceIndex - Index of service you want to make active.
Throws
RemoteException

public abstract A4TVStatus stopPretune (int routeID)

@param

Throws
RemoteException

public abstract A4TVStatus stopPrimer (int routeID)

@param

Throws
RemoteException

public abstract A4TVStatus stopService (int routeID)

Stops the active service. Applies only on active service list.

Parameters
routeID - Route ID.
Throws
RemoteException

public abstract A4TVStatus storeLastPlayedListAndService (int routeID, Service last)

Stores last used list and service index into storage device.

Parameters
routeID - Route ID.
last - Last played service. See Service.
Throws
RemoteException

public abstract A4TVStatus unregisterCallback (int id)

Unregisters service callback method.

Throws
RemoteException

public abstract A4TVStatus zapCableVOD (int routeID, int serviceID, TunerSettings tunerSettings)

Set DVB cable VOD active service according to the provided frequency, modulation and symbol rate.

Parameters
routeID - Route identifier.
serviceID - Service identidier - SID
tunerSettings - Tuner settings on specific route
Throws
RemoteException

public abstract A4TVStatus zapURL (int routeID, String url)

Set active service according to the provided url.

Parameters
routeID - Route ID.
url - Url of service.
Throws
RemoteException