import "IToiFrontendService.idl";
typedef long IToiFrontendService::TToiFrontendId |
Identifier for a frontend, starting from 0
typedef sequence< TToiFrontendId > IToiFrontendService::TToiFrontendIdSequence |
Sequence of frontend identifiers.
typedef long IToiFrontendService::TToiPropertyId |
Identifier for a frontend property
typedef sequence< TToiProperty > IToiFrontendService::TToiPropertySequence |
Sequence of properties.
Specifies the bit-map position for channel bandwidth capabilities.
Specifies the bit-map position for modulation mode capabilities.
Specifies the bit-map position for modulation system capabilities.
void IToiFrontendService::CreateDvbCScanner | ( | in IToiApplicationService::TToiApplicationId | applicationId, | |
in TToiFrontendId | frontendId, | |||
out string | scannerAddress | |||
) | raises (TToiInvalidArgumentException, TToiNotEnoughResourcesException, TToiOperationNotSupportedException) |
This function creates a new DVB-C scanner instance and associates it with the calling application. System resources are allocated when this function is called and released when IToiScanner::ReleaseInstance() is called.
When the application no longer needs the scanner instance, it must release it by calling IToiScanner::ReleaseInstance().
applicationId | The identifier of the calling application. | |
frontendId | The frontend identifier which will be used to bind this specific frontend for the scan operation. |
scannerAddress | The address to the IToiDvbCScanner instance. |
TToiInvalidArgumentException | Raised if the specified application identifier is invalid, or if frontend id is invalid. | |
TToiNotEnoughResourcesException | Raised if the specified frontend resource is in use. | |
TToiOperationNotSupportedException | Raised if DVB-C is not supported. |
void IToiFrontendService::CreateDvbTScanner | ( | in IToiApplicationService::TToiApplicationId | applicationId, | |
in TToiFrontendId | frontendId, | |||
out string | scannerAddress | |||
) | raises (TToiInvalidArgumentException, TToiNotEnoughResourcesException, TToiOperationNotSupportedException) |
This function creates a new DVB-T scanner instance and associates it with the calling application. System resources are allocated when this function is called and released when IToiScanner::ReleaseInstance() is called.
When the application no longer needs the scanner instance, it must release it by calling IToiScanner::ReleaseInstance().
applicationId | The identifier of the calling application. | |
frontendId | The frontend identifier which will be used to bind this specific frontend for the scan operation. |
scannerAddress | The address to the IToiDvbTScanner instance. |
TToiInvalidArgumentException | Raised if the specified application identifier is invalid, or raised if the frontend id is invalid. | |
TToiNotEnoughResourcesException | Raised if the specified frontend resource is in use. | |
TToiOperationNotSupportedException | Raised if DVB-T is not supported. |
void IToiFrontendService::CreateFrontendDownloader | ( | in IToiApplicationService::TToiApplicationId | applicationId, | |
in TToiFrontendId | frontendId, | |||
out string | downloaderAddress | |||
) | raises (TToiInvalidArgumentException, TToiNotEnoughResourcesException, TToiOperationNotSupportedException) |
This function creates a new frontend downloader instance and associates it with the calling application. System resources are allocated when this function is called and released when IToiFrontendDownloader::ReleaseInstance() is called.
When the application no longer needs the frontend downloader instance, it must release it by calling IToiFrontendDownloader::ReleaseInstance().
applicationId | The identifier of the calling application. | |
frontendId | The frontend identifier which will be used to bind this specific frontend to the downloader instance. |
downloaderAddress | The address to the IToiFrontendDownloader instance. |
TToiInvalidArgumentException | Raised if the specified application identifier is invalid, or if frontend id is invalid. | |
TToiNotEnoughResourcesException | Raised if the specified frontend resource is in use. | |
TToiOperationNotSupportedException | Raised if the function is not supported. |
void IToiFrontendService::GetFrontendInfo | ( | in TToiFrontendId | frontendId, | |
out TToiFrontendInfo | info | |||
) | raises (TToiInvalidArgumentException, TToiNoDataException, TToiOperationNotSupportedException) |
Get status information about the frontend, i.e. tuner and demodulator, for the dedicated frontend.
frontendId | The frontend identifier. |
info | The frontend status information. |
TToiInvalidArgumentException | Raised if the frontend id is not valid. | |
TToiNoDataException | Raised if the frontend information is not available. | |
TToiOperationNotSupportedException | Raised if there is no frontend available. |
void IToiFrontendService::GetFrontendInfoBySession | ( | in IToiMediaSession::TToiSessionId | sessionId, | |
out TToiFrontendInfo | info | |||
) | raises (TToiInvalidArgumentException, TToiNoDataException, TToiOperationNotSupportedException) |
Get status information about the frontend, i.e. tuner and demodulator, for the dedicated session.
sessionId | The media session identifier. |
info | The frontend status information. |
TToiInvalidArgumentException | Raised if the session id is not valid or if the session does not exist. | |
TToiNoDataException | Raised if the frontend information is not available. | |
TToiOperationNotSupportedException | Raised if there is no frontend available or if the given media session is not using a frontend. |
void IToiFrontendService::GetFrontends | ( | out TToiFrontendIdSequence | identifiers | ) | raises (TToiOperationNotSupportedException) |
This function is used to get the frontend identifiers for the available frontends.
identifiers | A list of frontend identifiers. |
TToiOperationNotSupportedException | Raised if there is no frontend available. |
void IToiFrontendService::GetOperationManager | ( | out string | address | ) |
Returns the operation manager that handles asynchronous operations for all services derived from the Frontend service. The procedure of executing asynchronous operations is generic and looks like this:
address | The address to the IToiOperationManager. |
Predefined value to identify any appropriate free frontend
This constant can also be accessed from toi.consts.IToiFrontendService.FRONTEND_ID_ANY_FREE.
Property used to indicate to which channel id a frontend is currently tuned to. This is derived from the centre frequency, see NORDIG requirement for DVB.
This constant can also be accessed from toi.consts.IToiFrontendService.PROPERTY_DERIVED_CHANNEL_ID.
Property for the signal quality indicator. The value is between -1 and 100, where 100 means that the quality is the best possible and -1 means that the quality is not available. See NORDIG requirement for DVB.
This constant can also be accessed from toi.consts.IToiFrontendService.PROPERTY_SIGNAL_QUALITY_INDICATOR.
Property for Signal Strength Indicator (SSI) of a frontend. See NORDIG requirement for DVB.
This constant can also be accessed from toi.consts.IToiFrontendService.PROPERTY_SIGNAL_STRENGTH_INDICATOR.