ToiMediaPlayer.idl
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef TOIMEDIAPLAYER_IDL
00016 #define TOIMEDIAPLAYER_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 "ToiMediaSession.idl"
00027 #include "TToiUnhandledValueException.idl"
00028 #include "ToiApplicationService.idl"
00029 #include "ToiOperationManager.idl"
00030 #include "ToiAssetManagerService.idl"
00031 #include "ToiMediaPlayerBase.idl"
00032
00045 interface ToiMediaPlayer : ToiMediaPlayerBase {
00046
00080 void open(in string url)
00081 raises (TToiSessionViolationException, TToiInvalidArgumentException, TToiUnavailableException);
00082
00104 void close()
00105 raises (TToiSessionViolationException, TToiUnavailableException);
00106
00145 void play(in long pace)
00146 raises (TToiSessionViolationException, TToiOperationNotSupportedException, TToiUnavailableException);
00147
00203 void playFromPosition(in long position,
00204 in long pace)
00205 raises (TToiSessionViolationException, TToiOperationNotSupportedException, TToiInvalidArgumentException, TToiUnavailableException);
00206
00243 void startTimeshiftBuffering(in long maxBufferLength)
00244 raises (TToiSessionViolationException, TToiInvalidArgumentException, TToiInvalidPreconditionException, TToiOperationNotSupportedException, TToiUnavailableException);
00245
00266 void stopTimeshiftBuffering()
00267 raises (TToiSessionViolationException, TToiInvalidPreconditionException, TToiUnavailableException);
00268
00289 void discardTimeshiftBuffer()
00290 raises (TToiSessionViolationException, TToiInvalidPreconditionException, TToiUnavailableException);
00291
00314 void activateComponent(in ToiMediaPlayerBaseComponentEntry mediaComponent)
00315 raises (TToiSessionViolationException, TToiInvalidArgumentException, TToiUnavailableException);
00316
00335 void deactivateComponent(in ToiMediaPlayerBase::TToiComponentType mediaType)
00336 raises (TToiSessionViolationException, TToiInvalidArgumentException, TToiUnavailableException);
00337
00359 void setAudioChannelMode(in long streamId,
00360 in ToiMediaPlayerBase::TToiAudioChannelMode channelMode)
00361 raises (TToiSessionViolationException, TToiInvalidArgumentException, TToiUnavailableException);
00362
00393 void setParameter(in string name,
00394 in string value)
00395 raises (TToiInvalidArgumentException, TToiPermissionDeniedException, TToiUnavailableException);
00396
00424 void unsetParameter(in string name)
00425 raises (TToiInvalidArgumentException, TToiPermissionDeniedException, TToiUnavailableException);
00426
00427 };
00428
00429 #endif