ToiMediaRecorderBase.idl
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef TOIMEDIARECORDERBASE_IDL
00016 #define TOIMEDIARECORDERBASE_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 "ToiMediaSession.idl"
00028 #include "TToiUnhandledValueException.idl"
00029 #include "ToiApplicationService.idl"
00030 #include "ToiOperationManager.idl"
00031 #include "ToiAssetManagerService.idl"
00032 #include "ToiMediaPlayerBase.idl"
00033 #include "ToiMediaPlayer.idl"
00034 #include "ToiEventTarget.idl"
00035
00036
00045
00046
00047
00048 interface ToiMediaRecorderBase : ToiEventTarget {
00049
00052
00056 const long ON_STATE_CHANGED = 1800;
00057
00061 const long ON_PARAMETER_CHANGED = 1801;
00062
00064
00067
00068 typedef long TToiMediaRecorderState;
00071
00082
00083 const TToiMediaRecorderState STATE_IDLE = 0;
00084
00093
00094 const TToiMediaRecorderState STATE_CONNECTING = 1;
00095
00103
00104 const TToiMediaRecorderState STATE_PAUSED = 2;
00105
00113
00114 const TToiMediaRecorderState STATE_RECORDING = 3;
00115
00124
00125 const TToiMediaRecorderState STATE_FAILED = 4;
00126
00128
00134
00135 TToiMediaRecorderState getState();
00136
00150
00151 ToiMediaSession::TToiSessionId getSessionId()
00152 raises (TToiSessionViolationException);
00153
00164
00165 string getUrl()
00166 raises (TToiSessionViolationException);
00167
00178
00179 string getAssetId()
00180 raises (TToiSessionViolationException);
00181
00198
00199 string getParameter(in string name)
00200 raises (TToiInvalidArgumentException);
00201
00219
00220
00221
00222 void subscribeParameter(in ToiEventListener eventListener,
00223 in string name)
00224 raises (TToiInvalidArgumentException);
00225
00240
00241
00242
00243 void unsubscribeParameter(in ToiEventListener eventListener,
00244 in string name)
00245 raises (TToiInvalidArgumentException);
00246
00251
00252
00253
00254 void releaseInstance();
00255
00256 };
00257
00258 #endif