The IScannerObserver interface may be implemented by applications and registered with the scanner service to asynchronously receive events.
An observer is registered with the scanner service by using IScannerService::RegisterObserver()
import "IScannerObserver.idl";
Public Member Functions | |
oneway void | OnProgressUpdate (in long progress) |
oneway void | OnAborted () |
oneway void | OnFrontendInfo (in IScannerService::TDeliverySystemType deliverySystemType, in string deliverySystemDescriptor, in IMediaSession::TFrontendInfo frontendInfo) |
oneway void IScannerObserver::OnAborted | ( | ) |
This event is sent if scanning process has been stopped by a call to IScannerService::AbortScan();
oneway void IScannerObserver::OnFrontendInfo | ( | in IScannerService::TDeliverySystemType | deliverySystemType, | |
in string | deliverySystemDescriptor, | |||
in IMediaSession::TFrontendInfo | frontendInfo | |||
) |
This event is sent periodically when the frontend monitor is active.
deliverySystemType | The delivery system type. | |
deliverySystemDescriptor | The delivery system descriptor according to ETSI EN 300 468 or ARIB STD-B10 in hexadecimal string format. | |
frontendInfo | Structure containing current frontend information. |
oneway void IScannerObserver::OnProgressUpdate | ( | in long | progress | ) |
This event is sent at regular intervals during the scanning process and contains information about the progress given as a number in the range 0 to 100, where 100 means that the scanning is complete.
progress | Progress given in the range 0 to 100. |