IToiMediaPlayerObserver.idl
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef ITOIMEDIAPLAYEROBSERVER_IDL
00016 #define ITOIMEDIAPLAYEROBSERVER_IDL
00017
00018 #include "TToiSessionViolationException.idl"
00019 #include "TToiUnavailableException.idl"
00020 #include "TToiInvalidArgumentException.idl"
00021 #include "TToiNoDataException.idl"
00022 #include "TToiPermissionDeniedException.idl"
00023 #include "TToiOperationNotSupportedException.idl"
00024 #include "TToiInvalidPreconditionException.idl"
00025 #include "TToiNotEnoughResourcesException.idl"
00026 #include "IToiMediaSession.idl"
00027 #include "TToiUnhandledValueException.idl"
00028 #include "IToiApplicationService.idl"
00029 #include "IToiOperationManager.idl"
00030 #include "IToiAssetManagerService.idl"
00031 #include "IToiMediaPlayerBase.idl"
00032 #include "IToiMediaPlayer.idl"
00033
00043
00051 interface IToiMediaPlayerObserver {
00052
00083 oneway void OnStateChanged(in IToiMediaPlayerBase::TToiState state,
00084 in string reason);
00085
00097 oneway void OnDataAvailable(in boolean status);
00098
00125 oneway void OnPositionChanged(in long position,
00126 in long pace);
00127
00150 oneway void OnStreamInfoChanged(in IToiMediaPlayerBase::TToiComponentSequence availableComponents,
00151 in IToiMediaPlayerBase::TToiComponentSequence activeComponents,
00152 in IToiMediaPlayerBase::TToiComponentSequence changedComponents);
00153
00163 oneway void OnActiveComponentChanged(in IToiMediaPlayerBase::TToiComponentEntry mediaComponent);
00164
00173
00174
00175
00176 oneway void OnParameterChanged(in string name);
00177
00186 oneway void OnTimeshiftStateChanged(in IToiMediaPlayerBase::TToiTimeshiftState state,
00187 in string reason);
00188
00199 oneway void OnCapabilitiesChanged(in long capabilityMask);
00200
00201 };
00202
00203 #endif