IToiMediaRecorderBase.idl
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef ITOIMEDIARECORDERBASE_IDL
00016 #define ITOIMEDIARECORDERBASE_IDL
00017
00018 #include "TToiOperationNotSupportedException.idl"
00019 #include "TToiUnavailableException.idl"
00020 #include "TToiNoDataException.idl"
00021 #include "TToiNotEnoughResourcesException.idl"
00022 #include "TToiInvalidArgumentException.idl"
00023 #include "TToiBusyException.idl"
00024 #include "TToiSessionViolationException.idl"
00025 #include "TToiPermissionDeniedException.idl"
00026 #include "TToiInvalidPreconditionException.idl"
00027 #include "IToiMediaSession.idl"
00028 #include "TToiUnhandledValueException.idl"
00029 #include "IToiApplicationService.idl"
00030 #include "IToiOperationManager.idl"
00031 #include "IToiAssetManagerService.idl"
00032 #include "IToiMediaPlayerBase.idl"
00033 #include "IToiMediaPlayer.idl"
00034
00035 #include "IToiApplicationService.idl"
00044
00045
00046 interface IToiMediaRecorderBase {
00047
00050 enum TToiMediaRecorderState
00051 {
00052
00060
00061 STATE_IDLE,
00062
00068
00069 STATE_CONNECTING,
00070
00075
00076 STATE_PAUSED,
00077
00082
00083 STATE_RECORDING,
00084
00090
00091 STATE_FAILED
00092 };
00093
00094
00095 typedef TToiMediaRecorderState TState;
00096
00103 void GetState(out TToiMediaRecorderState state);
00104
00118 void GetSessionId(out IToiMediaSession::TToiSessionId id)
00119 raises (TToiSessionViolationException);
00120
00131 void GetUrl(out string url)
00132 raises (TToiSessionViolationException);
00133
00144 void GetAssetId(out string assetId)
00145 raises (TToiSessionViolationException);
00146
00163 void GetParameter(in string name,
00164 out string value)
00165 raises (TToiInvalidArgumentException);
00166
00186
00187
00188
00189 void SubscribeParameter(in string address,
00190 in string name)
00191 raises (TToiInvalidArgumentException);
00192
00209
00210
00211
00212 void UnsubscribeParameter(in string address,
00213 in string name)
00214 raises (TToiInvalidArgumentException);
00215
00220
00221
00222
00223 void ReleaseInstance();
00224
00225
00226
00239 void RegisterObserver(in IToiApplicationService::TToiApplicationId applicationId,
00240 in string address)
00241 raises (TToiInvalidArgumentException);
00242
00251 void ReleaseObserver(in string address)
00252 raises (TToiInvalidArgumentException);
00253
00254 };
00255
00256 #endif