00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- 00002 *-------------------------------------------------------------------- 00003 * 00004 * ToiMediaRecorderBase.idl 00005 * 00006 * This file was created by the Motorola IDL backend, 00007 * which is based on the OmniORB IDL parser. 00008 * Please do not modify. 00009 * 00010 * Copyright (c) 2009 Motorola Inc. All Rights Reserved. 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 //@ [EventTarget(EventObserver=IToiMediaRecorderObserver)] 00046 00047 //@ [ReleaseInstance(Method=ReleaseInstance)] 00048 interface ToiMediaRecorderBase : ToiEventTarget { 00049 00052 00056 const long ON_STATE_CHANGED = 1800; 00057 00061 const long ON_PARAMETER_CHANGED = 1801; 00062 00064 00067 //@ [Enum] 00068 typedef long TToiMediaRecorderState; 00071 00082 //@ [Enumerator(Enum=TToiMediaRecorderState,Name=STATE_IDLE)] 00083 const TToiMediaRecorderState STATE_IDLE = 0; 00084 00093 //@ [Enumerator(Enum=TToiMediaRecorderState,Name=STATE_CONNECTING)] 00094 const TToiMediaRecorderState STATE_CONNECTING = 1; 00095 00103 //@ [Enumerator(Enum=TToiMediaRecorderState,Name=STATE_PAUSED)] 00104 const TToiMediaRecorderState STATE_PAUSED = 2; 00105 00113 //@ [Enumerator(Enum=TToiMediaRecorderState,Name=STATE_RECORDING)] 00114 const TToiMediaRecorderState STATE_RECORDING = 3; 00115 00124 //@ [Enumerator(Enum=TToiMediaRecorderState,Name=STATE_FAILED)] 00125 const TToiMediaRecorderState STATE_FAILED = 4; 00126 00128 00134 //@ [OutParam(Name=state,Position=1,IsBinary=0, Bound=0)] 00135 TToiMediaRecorderState getState(); 00136 00150 //@ [OutParam(Name=id,Position=1,IsBinary=0, Bound=0)] 00151 ToiMediaSession::TToiSessionId getSessionId() 00152 raises (TToiSessionViolationException); 00153 00164 //@ [OutParam(Name=url,Position=1,IsBinary=0, Bound=0)] 00165 string getUrl() 00166 raises (TToiSessionViolationException); 00167 00178 //@ [OutParam(Name=assetId,Position=1,IsBinary=0, Bound=0)] 00179 string getAssetId() 00180 raises (TToiSessionViolationException); 00181 00198 //@ [OutParam(Name=value,Position=2,IsBinary=0, Bound=0)] 00199 string getParameter(in string name) 00200 raises (TToiInvalidArgumentException); 00201 00219 //@ [EventFilter(AddressPosition=1)] 00220 00221 00222 void subscribeParameter(in ToiEventListener eventListener, 00223 in string name) 00224 raises (TToiInvalidArgumentException); 00225 00240 //@ [EventFilter(AddressPosition=1)] 00241 00242 00243 void unsubscribeParameter(in ToiEventListener eventListener, 00244 in string name) 00245 raises (TToiInvalidArgumentException); 00246 00251 //@ [ReleaseInstance] 00252 00253 00254 void releaseInstance(); 00255 00256 }; 00257 00258 #endif