IToiMediaRecorderBase.idl

00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
00002  *--------------------------------------------------------------------
00003  *
00004  * IToiMediaRecorderBase.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 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 //@ [EventTarget(EventObserver=IToiMediaRecorderObserver)]
00045 
00046 interface IToiMediaRecorderBase {
00047 
00050   enum TToiMediaRecorderState
00051   {
00052     
00060     //Value of STATE_IDLE = 0
00061     STATE_IDLE,
00062     
00068     //Value of STATE_CONNECTING = 1
00069     STATE_CONNECTING,
00070     
00075     //Value of STATE_PAUSED = 2
00076     STATE_PAUSED,
00077     
00082     //Value of STATE_RECORDING = 3
00083     STATE_RECORDING,
00084     
00090     //Value of STATE_FAILED = 4
00091     STATE_FAILED
00092   };
00093   
00094   //@ [Language=C++]
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   //@ [EventFilter(AddressPosition=1)]
00187   
00188   
00189   void SubscribeParameter(in string address, 
00190         in string name)
00191    raises (TToiInvalidArgumentException);
00192   
00209   //@ [EventFilter(AddressPosition=1)]
00210   
00211   
00212   void UnsubscribeParameter(in string address, 
00213         in string name)
00214    raises (TToiInvalidArgumentException);
00215   
00220   //@ [ReleaseInstance]
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