| Motorola Mobility Confidential Restricted. |
|
/extra/kbs/check_outs/co_356297/STABLE_geranium_lpm_cornsilk_10/dist/idl/js/toi/ToiMediaService.idl 00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- 00002 *-------------------------------------------------------------------- 00003 * 00004 * ToiMediaService.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 TOIMEDIASERVICE_IDL 00016 #define TOIMEDIASERVICE_IDL 00017 00018 #include "TToiOperationNotSupportedException.idl" 00019 #include "TToiNoDataException.idl" 00020 #include "TToiNotEnoughResourcesException.idl" 00021 #include "TToiInvalidArgumentException.idl" 00022 #include "TToiSessionViolationException.idl" 00023 #include "ToiMediaSession.idl" 00024 #include "TToiUnavailableException.idl" 00025 #include "TToiPermissionDeniedException.idl" 00026 #include "TToiInvalidPreconditionException.idl" 00027 #include "TToiUnhandledValueException.idl" 00028 #include "ToiApplicationService.idl" 00029 #include "ToiOperationManager.idl" 00030 #include "ToiAssetManagerService.idl" 00031 #include "ToiMediaPlayerBase.idl" 00032 #include "TToiBusyException.idl" 00033 #include "ToiMediaPlayer.idl" 00034 #include "ToiMediaRecorderBase.idl" 00035 #include "ToiEventTarget.idl" 00036 00037 //@ [Struct(Interface=IToiMediaService,Name=TToiSessionInfo)] 00038 interface ToiMediaServiceSessionInfo; 00039 //@ [Struct(Interface=IToiMediaService,Name=TToiDistributorInfo)] 00040 interface ToiMediaServiceDistributorInfo; 00041 //@ [Struct(Interface=IToiMediaService,Name=TToiPlayerInfo)] 00042 interface ToiMediaServicePlayerInfo; 00043 //@ [Struct(Interface=IToiMediaService,Name=TToiRecorderInfo)] 00044 interface ToiMediaServiceRecorderInfo; 00045 interface ToiMediaRecorder; 00046 interface ToiMediaConsumer; 00047 00063 //@ [Service(Name=MediaService)] 00064 //@ [EventTarget(EventObserver=IToiMediaObserver)] 00067 interface ToiMediaService : ToiEventTarget { 00068 00071 00075 const long ON_SESSION_STATE_CHANGED = 1600; 00076 00080 const long ON_DISTRIBUTOR_STATUS_CHANGED = 1601; 00081 00085 const long ON_PLAYER_STATUS_CHANGED = 1602; 00086 00090 const long ON_RECORDER_STATUS_CHANGED = 1603; 00091 00095 const long ON_SESSION_STREAM_INFO_CHANGED = 1604; 00096 00098 00102 const string REASON_UNKNOWN = "Unknown"; 00103 00107 const string REASON_COMMAND_OPEN = "CommandOpen"; 00108 00112 const string REASON_COMMAND_CLOSE = "CommandClose"; 00113 00117 const string REASON_COMMAND_PAUSE = "CommandPause"; 00118 00122 const string REASON_COMMAND_PLAY = "CommandPlay"; 00123 00128 const string REASON_COMMAND_FASTFORWARD = "CommandFastForward"; 00129 00133 const string REASON_COMMAND_REWIND = "CommandRewind"; 00134 00138 const string REASON_COMMAND_PLAYFROMPOSITION = "CommandPlayFromPosition"; 00139 00143 const string REASON_COMMAND_RECORD = "CommandRecord"; 00144 00148 const string REASON_COMMAND_CONSUME = "CommandConsume"; 00149 00153 const string REASON_POSITION_END = "PositionEnd"; 00154 00158 const string REASON_POSITION_START = "PositionStart"; 00159 00164 const string REASON_TIMESHIFT_BUFFER_OPEN = "TimeshiftBufferOpen"; 00165 00170 const string REASON_TIMESHIFT_BUFFER_FULL = "TimeshiftBufferFull"; 00171 00176 const string REASON_TIMESHIFT_BUFFER_DISCARDED = "TimeshiftBufferDiscarded"; 00177 00182 const string REASON_TIMESHIFT_BUFFER_REDIRECTED = "TimeshiftBufferRedirected"; 00183 00187 const string REASON_ERROR_COMMAND_NOT_SUPPORTED = "ErrorCommandNotSupported"; 00188 00192 const string REASON_ERROR_STREAM_CLIENT = "ErrorStreamClient"; 00193 00197 const string REASON_ERROR_CONNECTION_FAILED = "ErrorConnectionFailed"; 00198 00202 const string REASON_ERROR_INVALID_PRECONDITION = "ErrorInvalidPrecondition"; 00203 00207 const string REASON_ERROR_PERMISSION_DENIED = "ErrorPermissionDenied"; 00208 00212 const string REASON_ERROR_INVALID_DISKASSET = "ErrorInvalidDiskasset"; 00213 00217 const string REASON_ERROR_UNSUPPORTED_DISKASSET_VERSION = "ErrorUnsupportedDiskAssetVersion"; 00218 00222 const string REASON_ERROR_DISK_FULL = "ErrorStorageFull"; 00223 00227 const string REASON_ERROR_LOWLEVEL_IO_FAILURE = "ErrorLowlevelIOFailure"; 00228 00232 const string REASON_ERROR_POSITION_INVALID = "ErrorPositionInvalid"; 00233 00237 const string REASON_ERROR_DISK_OVERHEATED = "ErrorStorageOverheated"; 00238 00242 const string REASON_ERROR_HOST_UNREACHABLE = "ErrorHostUnreachable"; 00243 00247 const string REASON_ERROR_UNEXISTING_RESOURCE = "ErrorUnexistingResource"; 00248 00252 const string REASON_ERROR_NO_EXTERNAL_INPUT_SIGNAL = "ErrorNoExternalInputSignal"; 00253 00257 //@ [Enum] 00258 typedef long TToiDistributorState; 00261 00272 //@ [Enumerator(Enum=TToiDistributorState,Name=DISTRIBUTOR_STATE_IDLE)] 00273 const TToiDistributorState DISTRIBUTOR_STATE_IDLE = 0; 00274 00290 //@ [Enumerator(Enum=TToiDistributorState,Name=DISTRIBUTOR_STATE_CONNECTING)] 00291 const TToiDistributorState DISTRIBUTOR_STATE_CONNECTING = 1; 00292 00308 //@ [Enumerator(Enum=TToiDistributorState,Name=DISTRIBUTOR_STATE_PAUSED)] 00309 const TToiDistributorState DISTRIBUTOR_STATE_PAUSED = 2; 00310 00327 //@ [Enumerator(Enum=TToiDistributorState,Name=DISTRIBUTOR_STATE_PLAYING)] 00328 const TToiDistributorState DISTRIBUTOR_STATE_PLAYING = 3; 00329 00347 //@ [Enumerator(Enum=TToiDistributorState,Name=DISTRIBUTOR_STATE_FASTFORWARDING)] 00348 const TToiDistributorState DISTRIBUTOR_STATE_FASTFORWARDING = 4; 00349 00367 //@ [Enumerator(Enum=TToiDistributorState,Name=DISTRIBUTOR_STATE_REWINDING)] 00368 const TToiDistributorState DISTRIBUTOR_STATE_REWINDING = 5; 00369 00378 //@ [Enumerator(Enum=TToiDistributorState,Name=DISTRIBUTOR_STATE_FAILED)] 00379 const TToiDistributorState DISTRIBUTOR_STATE_FAILED = 6; 00380 00382 00385 00389 00395 00403 00407 00408 00412 00416 00420 00450 00486 00521 00557 00573 00584 00595 00636 00670 00693 00714 |