Motorola Mobility Confidential Restricted.
/extra/kbs/check_outs/co_206438/STABLE_geranium_lpm_cornsilk_1/dist/idl/js/toi/ToiMediaPlayerBase.idl
00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
00002  *--------------------------------------------------------------------
00003  *
00004  * ToiMediaPlayerBase.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 TOIMEDIAPLAYERBASE_IDL
00016 #define TOIMEDIAPLAYERBASE_IDL
00017 
00018 #include "TToiSessionViolationException.idl"
00019 #include "TToiUnavailableException.idl"
00020 #include "TToiInvalidArgumentException.idl"
00021 #include "TToiNoDataException.idl"
00022 #include "TToiPermissionDeniedException.idl"
00023 #include "TToiOperationNotSupportedException.idl"
00024 #include "TToiInvalidPreconditionException.idl"
00025 #include "TToiNotEnoughResourcesException.idl"
00026 #include "ToiMediaSession.idl"
00027 #include "TToiUnhandledValueException.idl"
00028 #include "ToiApplicationService.idl"
00029 #include "ToiOperationManager.idl"
00030 #include "ToiAssetManagerService.idl"
00031 #include "ToiEventTarget.idl"
00032 
00033 //@ [Struct(Interface=IToiMediaPlayerBase,Name=TToiComponentEntry)]
00034 interface ToiMediaPlayerBaseComponentEntry;
00035 //@ [Struct(Interface=IToiMediaPlayerBase,Name=TToiError)]
00036 interface ToiMediaPlayerBaseError;
00037 //@ [Struct(Interface=IToiMediaPlayerBase,Name=TToiTimeshiftInfo)]
00038 interface ToiMediaPlayerBaseTimeshiftInfo;
00039 //@ [Struct(Interface=IToiMediaPlayerBase,Name=TToiAudioStreamInfo)]
00040 interface ToiMediaPlayerBaseAudioStreamInfo;
00041 //@ [Struct(Interface=IToiMediaPlayerBase,Name=TToiVideoStreamInfo)]
00042 interface ToiMediaPlayerBaseVideoStreamInfo;
00043 //@ [Struct(Interface=IToiMediaPlayerBase,Name=TToiSubtitleStreamInfo)]
00044 interface ToiMediaPlayerBaseSubtitleStreamInfo;
00045 //@ [Struct(Interface=IToiMediaPlayerBase,Name=TToiPaceInfo)]
00046 interface ToiMediaPlayerBasePaceInfo;
00047 //@ [Struct(Interface=IToiMediaPlayerBase,Name=TToiRange)]
00048 interface ToiMediaPlayerBaseRange;
00049 //@ [Struct(Interface=IToiMediaPlayerBase,Name=TToiPositionInfo)]
00050 interface ToiMediaPlayerBasePositionInfo;
00051 //@ [Struct(Interface=IToiMediaPlayerBase,Name=TToiPresentationInfo)]
00052 interface ToiMediaPlayerBasePresentationInfo;
00053 //@ [Struct(Interface=IToiMediaPlayerBase,Name=TToiStreamInfo)]
00054 interface ToiMediaPlayerBaseStreamInfo;
00055 //@ [Struct(Interface=IToiMediaPlayerBase,Name=TToiMediaBufferInfo)]
00056 interface ToiMediaPlayerBaseMediaBufferInfo;
00057 //@ [Struct(Interface=IToiMediaPlayerBase,Name=TToiTeletextStreamInfo)]
00058 interface ToiMediaPlayerBaseTeletextStreamInfo;
00059 
00068 //@ [EventTarget(EventObserver=IToiMediaPlayerObserver, Suppressible)]
00069 
00070 //@ [ReleaseInstance(Method=ReleaseInstance)]
00071 interface ToiMediaPlayerBase : ToiEventTarget {
00072 
00075   
00079   const long ON_STATE_CHANGED = 1700;
00080   
00084   const long ON_DATA_AVAILABLE = 1701;
00085   
00089   const long ON_POSITION_CHANGED = 1702;
00090   
00094   const long ON_POSITION_STATUS_CHANGED = 1703;
00095   
00099   const long ON_STREAM_INFO_CHANGED = 1704;
00100   
00104   const long ON_PARAMETER_CHANGED = 1705;
00105   
00109   const long ON_TIMESHIFT_STATE_CHANGED = 1706;
00110   
00114   const long ON_CAPABILITIES_CHANGED = 1707;
00115   
00119   const long ON_PRESENTATION_STATUS_CHANGED = 1708;
00120   
00124   const long ON_MEDIA_BUFFER_STATUS_CHANGED = 1709;
00125   
00127   
00132   //@ [Enum]
00133   typedef long TToiComponentType;
00136   
00142   //@ [Enumerator(Enum=TToiComponentType,Name=COMPONENT_AUDIO)]
00143   const TToiComponentType COMPONENT_AUDIO = 0;
00144   
00150   //@ [Enumerator(Enum=TToiComponentType,Name=COMPONENT_VIDEO)]
00151   const TToiComponentType COMPONENT_VIDEO = 1;
00152   
00158   //@ [Enumerator(Enum=TToiComponentType,Name=COMPONENT_SUBTITLE)]
00159   const TToiComponentType COMPONENT_SUBTITLE = 2;
00160   
00167   //@ [Enumerator(Enum=TToiComponentType,Name=COMPONENT_SUBTITLE_CAPTION)]
00168   const TToiComponentType COMPONENT_SUBTITLE_CAPTION = 3;
00169   
00178   //@ [Enumerator(Enum=TToiComponentType,Name=COMPONENT_SUBTITLE_SUPERIMPOSE)]
00179   const TToiComponentType COMPONENT_SUBTITLE_SUPERIMPOSE = 4;
00180   
00188   //@ [Enumerator(Enum=TToiComponentType,Name=COMPONENT_TELETEXT_VBI)]
00189   const TToiComponentType COMPONENT_TELETEXT_VBI = 5;
00190   
00192 
00193   typedef sequence < ToiMediaPlayerBaseComponentEntry > TToiComponentSequence;
00194   
00196   typedef sequence < long > TToiPaceSequence;
00197   
00203   //@ [Enum]
00204   typedef long TToiErrorSource;
00207   
00214   //@ [Enumerator(Enum=TToiErrorSource,Name=SOURCE_UNKNOWN)]
00215   const TToiErrorSource SOURCE_UNKNOWN = 0;
00216   
00224   //@ [Enumerator(Enum=TToiErrorSource,Name=SOURCE_INTERNAL)]
00225   const TToiErrorSource SOURCE_INTERNAL = 1;
00226   
00234   //@ [Enumerator(Enum=TToiErrorSource,Name=SOURCE_BITBAND)]
00235   const TToiErrorSource SOURCE_BITBAND = 2;
00236   
00238 
00240   //@ [Enum]
00241   typedef long TToiState;
00244   
00255   //@ [Enumerator(Enum=TToiState,Name=STATE_IDLE)]
00256   const TToiState STATE_IDLE = 0;
00257   
00273   //@ [Enumerator(Enum=TToiState,Name=STATE_CONNECTING)]
00274   const TToiState STATE_CONNECTING = 1;
00275   
00289   //@ [Enumerator(Enum=TToiState,Name=STATE_PAUSED)]
00290   const TToiState STATE_PAUSED = 2;
00291   
00306   //@ [Enumerator(Enum=TToiState,Name=STATE_PLAYING)]
00307   const TToiState STATE_PLAYING = 3;
00308   
00325   //@ [Enumerator(Enum=TToiState,Name=STATE_FASTFORWARDING)]
00326   const TToiState STATE_FASTFORWARDING = 4;
00327   
00344   //@ [Enumerator(Enum=TToiState,Name=STATE_REWINDING)]
00345   const TToiState STATE_REWINDING = 5;
00346   
00356   //@ [Enumerator(Enum=TToiState,Name=STATE_FAILED)]
00357   const TToiState STATE_FAILED = 6;
00358   
00360 
00362   //@ [Enum]
00363   typedef long TToiTimeshiftState;
00366   
00379   //@ [Enumerator(Enum=TToiTimeshiftState,Name=TIMESHIFT_STATE_INACTIVE)]
00380   const TToiTimeshiftState TIMESHIFT_STATE_INACTIVE = 0;
00381   
00390   //@ [Enumerator(Enum=TToiTimeshiftState,Name=TIMESHIFT_STATE_BUFFERING)]
00391   const TToiTimeshiftState TIMESHIFT_STATE_BUFFERING = 1;
00392   
00404   //@ [Enumerator(Enum=TToiTimeshiftState,Name=TIMESHIFT_STATE_STOPPED)]
00405   const TToiTimeshiftState TIMESHIFT_STATE_STOPPED = 2;
00406   
00416   //@ [Enumerator(Enum=TToiTimeshiftState,Name=TIMESHIFT_STATE_BUFFERING_FAILED)]
00417   const TToiTimeshiftState TIMESHIFT_STATE_BUFFERING_FAILED = 3;
00418   
00420 
00423   //@ [Enum]
00424   typedef long TToiAudioAudienceType;
00427   
00433   //@ [Enumerator(Enum=TToiAudioAudienceType,Name=AUDIO_AUDIENCE_TYPE_UNKNOWN)]
00434   const TToiAudioAudienceType AUDIO_AUDIENCE_TYPE_UNKNOWN = 0;
00435   
00441   //@ [Enumerator(Enum=TToiAudioAudienceType,Name=AUDIO_AUDIENCE_TYPE_NORMAL)]
00442   const TToiAudioAudienceType AUDIO_AUDIENCE_TYPE_NORMAL = 1;
00443   
00449   //@ [Enumerator(Enum=TToiAudioAudienceType,Name=AUDIO_AUDIENCE_TYPE_VISUALLY_IMPAIRED)]
00450   const TToiAudioAudienceType AUDIO_AUDIENCE_TYPE_VISUALLY_IMPAIRED = 2;
00451   
00457   //@ [Enumerator(Enum=TToiAudioAudienceType,Name=AUDIO_AUDIENCE_TYPE_HEARING_IMPAIRED)]
00458   const TToiAudioAudienceType AUDIO_AUDIENCE_TYPE_HEARING_IMPAIRED = 3;
00459   
00461 
00464   //@ [Enum]
00465   typedef long TToiAudioChannelFormat;
00468   
00474   //@ [Enumerator(Enum=TToiAudioChannelFormat,Name=AUDIO_CHANNEL_FORMAT_UNKNOWN)]
00475   const TToiAudioChannelFormat AUDIO_CHANNEL_FORMAT_UNKNOWN = 0;
00476   
00482   //@ [Enumerator(Enum=TToiAudioChannelFormat,Name=AUDIO_CHANNEL_FORMAT_SINGLE_MONO)]
00483   const TToiAudioChannelFormat AUDIO_CHANNEL_FORMAT_SINGLE_MONO = 1;
00484   
00490   //@ [Enumerator(Enum=TToiAudioChannelFormat,Name=AUDIO_CHANNEL_FORMAT_DUAL_MONO)]
00491   const TToiAudioChannelFormat AUDIO_CHANNEL_FORMAT_DUAL_MONO = 2;
00492   
00498   //@ [Enumerator(Enum=TToiAudioChannelFormat,Name=AUDIO_CHANNEL_FORMAT_STEREO)]
00499   const TToiAudioChannelFormat AUDIO_CHANNEL_FORMAT_STEREO = 3;
00500   
00506   //@ [Enumerator(Enum=TToiAudioChannelFormat,Name=AUDIO_CHANNEL_FORMAT_3_FRONT_1_BACK)]
00507   const TToiAudioChannelFormat AUDIO_CHANNEL_FORMAT_3_FRONT_1_BACK = 4;
00508   
00514   //@ [Enumerator(Enum=TToiAudioChannelFormat,Name=AUDIO_CHANNEL_FORMAT_3_FRONT_2_BACK)]
00515   const TToiAudioChannelFormat AUDIO_CHANNEL_FORMAT_3_FRONT_2_BACK = 5;
00516   
00523   //@ [Enumerator(Enum=TToiAudioChannelFormat,Name=AUDIO_CHANNEL_FORMAT_3_FRONT_2_BACK_LFE)]
00524   const TToiAudioChannelFormat AUDIO_CHANNEL_FORMAT_3_FRONT_2_BACK_LFE = 6;
00525   
00532   //@ [Enumerator(Enum=TToiAudioChannelFormat,Name=AUDIO_CHANNEL_FORMAT_3_FRONT_2_SIDE_2_BACK_LFE)]
00533   const TToiAudioChannelFormat AUDIO_CHANNEL_FORMAT_3_FRONT_2_SIDE_2_BACK_LFE = 7;
00534   
00536 
00538   //@ [Enum]
00539   typedef long TToiAudioChannelMode;
00542   
00548   //@ [Enumerator(Enum=TToiAudioChannelMode,Name=AUDIO_CHANNEL_MODE_NORMAL)]
00549   const TToiAudioChannelMode AUDIO_CHANNEL_MODE_NORMAL = 0;
00550   
00557   //@ [Enumerator(Enum=TToiAudioChannelMode,Name=AUDIO_CHANNEL_MODE_DUAL_MONO_LEFT_ONLY)]
00558   const TToiAudioChannelMode AUDIO_CHANNEL_MODE_DUAL_MONO_LEFT_ONLY = 1;
00559   
00566   //@ [Enumerator(Enum=TToiAudioChannelMode,Name=AUDIO_CHANNEL_MODE_DUAL_MONO_RIGHT_ONLY)]
00567   const TToiAudioChannelMode AUDIO_CHANNEL_MODE_DUAL_MONO_RIGHT_ONLY = 2;
00568   
00576   //@ [Enumerator(Enum=TToiAudioChannelMode,Name=AUDIO_CHANNEL_MODE_DUAL_MONO_STEREO)]
00577   const TToiAudioChannelMode AUDIO_CHANNEL_MODE_DUAL_MONO_STEREO = 3;
00578   
00585   //@ [Enumerator(Enum=TToiAudioChannelMode,Name=AUDIO_CHANNEL_MODE_DUAL_MONO_MIXED)]
00586   const TToiAudioChannelMode AUDIO_CHANNEL_MODE_DUAL_MONO_MIXED = 4;
00587   
00589 
00592   //@ [Enum]
00593   typedef long TToiAspectRatio;
00596   
00602   //@ [Enumerator(Enum=TToiAspectRatio,Name=ASPECT_RATIO_UNKNOWN)]
00603   const TToiAspectRatio ASPECT_RATIO_UNKNOWN = 0;
00604   
00610   //@ [Enumerator(Enum=TToiAspectRatio,Name=ASPECT_RATIO_4_3)]
00611   const TToiAspectRatio ASPECT_RATIO_4_3 = 1;
00612   
00618   //@ [Enumerator(Enum=TToiAspectRatio,Name=ASPECT_RATIO_16_9)]
00619   const TToiAspectRatio ASPECT_RATIO_16_9 = 2;
00620   
00622 
00625   //@ [Enum]
00626   typedef long TToiActiveFormatDescriptor;
00629   
00635   //@ [Enumerator(Enum=TToiActiveFormatDescriptor,Name=ACTIVE_FORMAT_UNKNOWN)]
00636   const TToiActiveFormatDescriptor ACTIVE_FORMAT_UNKNOWN = 0;
00637   
00643   //@ [Enumerator(Enum=TToiActiveFormatDescriptor,Name=ACTIVE_FORMAT_16_9_TOP)]
00644   const TToiActiveFormatDescriptor ACTIVE_FORMAT_16_9_TOP = 1;
00645   
00651   //@ [Enumerator(Enum=TToiActiveFormatDescriptor,Name=ACTIVE_FORMAT_14_9_TOP)]
00652   const TToiActiveFormatDescriptor ACTIVE_FORMAT_14_9_TOP = 2;
00653   
00659   //@ [Enumerator(Enum=TToiActiveFormatDescriptor,Name=ACTIVE_FORMAT_MORE_THAN_16_9_CENTRE)]
00660   const TToiActiveFormatDescriptor ACTIVE_FORMAT_MORE_THAN_16_9_CENTRE = 3;
00661   
00667   //@ [Enumerator(Enum=TToiActiveFormatDescriptor,Name=ACTIVE_FORMAT_SAME_AS_CODED)]
00668   const TToiActiveFormatDescriptor ACTIVE_FORMAT_SAME_AS_CODED = 4;
00669   
00675   //@ [Enumerator(Enum=TToiActiveFormatDescriptor,Name=ACTIVE_FORMAT_4_3_CENTRE)]
00676   const TToiActiveFormatDescriptor ACTIVE_FORMAT_4_3_CENTRE = 5;
00677   
00683   //@ [Enumerator(Enum=TToiActiveFormatDescriptor,Name=ACTIVE_FORMAT_16_9_CENTRE)]
00684   const TToiActiveFormatDescriptor ACTIVE_FORMAT_16_9_CENTRE = 6;
00685   
00691   //@ [Enumerator(Enum=TToiActiveFormatDescriptor,Name=ACTIVE_FORMAT_14_9_CENTRE)]
00692   const TToiActiveFormatDescriptor ACTIVE_FORMAT_14_9_CENTRE = 7;
00693   
00700   //@ [Enumerator(Enum=TToiActiveFormatDescriptor,Name=ACTIVE_FORMAT_4_3_SHOOT_AND_PROTECT_14_9_CENTRE)]
00701   const TToiActiveFormatDescriptor ACTIVE_FORMAT_4_3_SHOOT_AND_PROTECT_14_9_CENTRE = 8;
00702   
00709   //@ [Enumerator(Enum=TToiActiveFormatDescriptor,Name=ACTIVE_FORMAT_16_9_SHOOT_AND_PROTECT_14_9_CENTRE)]
00710   const TToiActiveFormatDescriptor ACTIVE_FORMAT_16_9_SHOOT_AND_PROTECT_14_9_CENTRE = 9;
00711   
00718   //@ [Enumerator(Enum=TToiActiveFormatDescriptor,Name=ACTIVE_FORMAT_16_9_SHOOT_AND_PROTECT_4_3_CENTRE)]
00719   const TToiActiveFormatDescriptor ACTIVE_FORMAT_16_9_SHOOT_AND_PROTECT_4_3_CENTRE = 10;
00720   
00722 
00727   //@ [Enum]
00728   typedef long TToiVideo3dSourceFormat;
00731   
00737   //@ [Enumerator(Enum=TToiVideo3dSourceFormat,Name=VIDEO_3D_SRC_FORMAT_CHECKERBOARD)]
00738   const TToiVideo3dSourceFormat VIDEO_3D_SRC_FORMAT_CHECKERBOARD = 0;
00739   
00745   //@ [Enumerator(Enum=TToiVideo3dSourceFormat,Name=VIDEO_3D_SRC_FORMAT_COLUMN_BASED)]
00746   const TToiVideo3dSourceFormat VIDEO_3D_SRC_FORMAT_COLUMN_BASED = 1;
00747   
00753   //@ [Enumerator(Enum=TToiVideo3dSourceFormat,Name=VIDEO_3D_SRC_FORMAT_ROW_BASED)]
00754   const TToiVideo3dSourceFormat VIDEO_3D_SRC_FORMAT_ROW_BASED = 2;
00755   
00761   //@ [Enumerator(Enum=TToiVideo3dSourceFormat,Name=VIDEO_3D_SRC_FORMAT_SIDE_BY_SIDE)]
00762   const TToiVideo3dSourceFormat VIDEO_3D_SRC_FORMAT_SIDE_BY_SIDE = 3;
00763   
00769   //@ [Enumerator(Enum=TToiVideo3dSourceFormat,Name=VIDEO_3D_SRC_FORMAT_TOP_BOTTOM)]
00770   const TToiVideo3dSourceFormat VIDEO_3D_SRC_FORMAT_TOP_BOTTOM = 4;
00771   
00777   //@ [Enumerator(Enum=TToiVideo3dSourceFormat,Name=VIDEO_3D_SRC_FORMAT_TEMPORAL)]
00778   const TToiVideo3dSourceFormat VIDEO_3D_SRC_FORMAT_TEMPORAL = 5;
00779   
00785   //@ [Enumerator(Enum=TToiVideo3dSourceFormat,Name=VIDEO_3D_SRC_FORMAT_RESERVED)]
00786   const TToiVideo3dSourceFormat VIDEO_3D_SRC_FORMAT_RESERVED = 6;
00787   
00794   //@ [Enumerator(Enum=TToiVideo3dSourceFormat,Name=VIDEO_3D_FORMAT_CANCELED)]
00795   const TToiVideo3dSourceFormat VIDEO_3D_FORMAT_CANCELED = 0x80;
00796   
00803   //@ [Enumerator(Enum=TToiVideo3dSourceFormat,Name=VIDEO_3D_FORMAT_NOT_SPECIFIED)]
00804   const TToiVideo3dSourceFormat VIDEO_3D_FORMAT_NOT_SPECIFIED = 0xff;
00805   
00807 
00810   //@ [Enum]
00811   typedef long TToiSubtitleType;
00814   
00820   //@ [Enumerator(Enum=TToiSubtitleType,Name=SUBTITLE_UNKNOWN)]
00821   const TToiSubtitleType SUBTITLE_UNKNOWN = 0;
00822   
00828   //@ [Enumerator(Enum=TToiSubtitleType,Name=SUBTITLE_NORMAL)]
00829   const TToiSubtitleType SUBTITLE_NORMAL = 1;
00830   
00836   //@ [Enumerator(Enum=TToiSubtitleType,Name=SUBTITLE_HEARING_IMPAIRED)]
00837   const TToiSubtitleType SUBTITLE_HEARING_IMPAIRED = 2;
00838   
00840 
00843   //@ [Enum]
00844   typedef long TToiSubtitleFormat;
00847   
00853   //@ [Enumerator(Enum=TToiSubtitleFormat,Name=SUBTITLE_DVB)]
00854   const TToiSubtitleFormat SUBTITLE_DVB = 0;
00855   
00861   //@ [Enumerator(Enum=TToiSubtitleFormat,Name=SUBTITLE_ARIB)]
00862   const TToiSubtitleFormat SUBTITLE_ARIB = 1;
00863   
00869   //@ [Enumerator(Enum=TToiSubtitleFormat,Name=SUBTITLE_TELETEXT)]
00870   const TToiSubtitleFormat SUBTITLE_TELETEXT = 2;
00871   
00877   //@ [Enumerator(Enum=TToiSubtitleFormat,Name=SUBTITLE_DVD)]
00878   const TToiSubtitleFormat SUBTITLE_DVD = 3;
00879   
00887   //@ [Enumerator(Enum=TToiSubtitleFormat,Name=SUBTITLE_XSUB)]
00888   const TToiSubtitleFormat SUBTITLE_XSUB = 4;
00889   
00891 
00893   //@ [Enum]
00894   typedef long TToiReceiveDmfMode;
00897   
00903   //@ [Enumerator(Enum=TToiReceiveDmfMode,Name=RECEIVE_DMF_MODE_AUTO)]
00904   const TToiReceiveDmfMode RECEIVE_DMF_MODE_AUTO = 0;
00905   
00911   //@ [Enumerator(Enum=TToiReceiveDmfMode,Name=RECEIVE_DMF_MODE_NON_AUTO)]
00912   const TToiReceiveDmfMode RECEIVE_DMF_MODE_NON_AUTO = 1;
00913   
00919   //@ [Enumerator(Enum=TToiReceiveDmfMode,Name=RECEIVE_DMF_MODE_SELECT)]
00920   const TToiReceiveDmfMode RECEIVE_DMF_MODE_SELECT = 2;
00921   
00927   //@ [Enumerator(Enum=TToiReceiveDmfMode,Name=RECEIVE_DMF_MODE_SPECIAL)]
00928   const TToiReceiveDmfMode RECEIVE_DMF_MODE_SPECIAL = 3;
00929   
00931 
00933   //@ [Enum]
00934   typedef long TToiRecordDmfMode;
00937   
00943   //@ [Enumerator(Enum=TToiRecordDmfMode,Name=RECORD_DMF_MODE_AUTO)]
00944   const TToiRecordDmfMode RECORD_DMF_MODE_AUTO = 0;
00945   
00951   //@ [Enumerator(Enum=TToiRecordDmfMode,Name=RECORD_DMF_MODE_NON_AUTO)]
00952   const TToiRecordDmfMode RECORD_DMF_MODE_NON_AUTO = 1;
00953   
00959   //@ [Enumerator(Enum=TToiRecordDmfMode,Name=RECORD_DMF_MODE_SELECT)]
00960   const TToiRecordDmfMode RECORD_DMF_MODE_SELECT = 2;
00961   
00963 
00966   //@ [Enum]
00967   typedef long TToiMediaBufferType;
00970   
00976   //@ [Enumerator(Enum=TToiMediaBufferType,Name=MEDIA_BUFFER_TYPE_TIMESHIFT)]
00977   const TToiMediaBufferType MEDIA_BUFFER_TYPE_TIMESHIFT = 0;
00978   
00984   //@ [Enumerator(Enum=TToiMediaBufferType,Name=MEDIA_BUFFER_TYPE_DOWNLOAD)]
00985   const TToiMediaBufferType MEDIA_BUFFER_TYPE_DOWNLOAD = 1;
00986   
00988 
00989   typedef sequence < TToiMediaBufferType > TToiMediaBufferTypeSequence;
00990   
00996   const long PACE_PAUSE = 0;
00997   
01003   const long PACE_PLAY = 1000;
01004   
01010   const long PACE_FASTFORWARD = 5000;
01011   
01017   const long PACE_REWIND = -5000;
01018   
01025   const long POSITION_LIVE = -1616928864;
01026   
01034   const long CAPABILITY_PAUSE = 1;
01035   
01041   const long CAPABILITY_REWIND = 2;
01042   
01048   const long CAPABILITY_FASTFORWARD = 4;
01049   
01056   const long CAPABILITY_GETPOSITION = 8;
01057   
01063   const long CAPABILITY_SETPOSITION = 16;
01064   
01072   const long CAPABILITY_FREEZE = 32;
01073   
01080   const long CAPABILITY_TIMESHIFT = 64;
01081   
01088   const long CAPABILITY_MEDIA_BUFFER = 128;
01089   
01095   //@ [OutParam(Name=state,Position=1,IsBinary=0, Bound=0)]
01096   TToiState getState();
01097   
01105   //@ [OutParam(Name=error,Position=1,IsBinary=0, Bound=0)]
01106   ToiMediaPlayerBaseError getError();
01107   
01121   //@ [OutParam(Name=id,Position=1,IsBinary=0, Bound=0)]
01122   ToiMediaSession::TToiSessionId getSessionId()
01123    raises (TToiSessionViolationException);
01124   
01135   //@ [OutParam(Name=url,Position=1,IsBinary=0, Bound=0)]
01136   string getUrl()
01137    raises (TToiSessionViolationException);
01138   
01158   //@ [OutParam(Name=streamInfo,Position=1,IsBinary=0, Bound=0)]
01159   ToiMediaPlayerBaseStreamInfo getStreamInfo()
01160    raises (TToiSessionViolationException, TToiUnavailableException);
01161   
01187   //@ [OutParam(Name=streamInfo,Position=2,IsBinary=0, Bound=0)]
01188   ToiMediaPlayerBaseVideoStreamInfo getVideoStreamInfo(in ToiMediaPlayerBaseComponentEntry mediaComponent)
01189    raises (TToiSessionViolationException, TToiInvalidArgumentException, TToiUnavailableException);
01190   
01216   //@ [OutParam(Name=streamInfo,Position=2,IsBinary=0, Bound=0)]
01217   ToiMediaPlayerBaseAudioStreamInfo getAudioStreamInfo(in ToiMediaPlayerBaseComponentEntry mediaComponent)
01218    raises (TToiSessionViolationException, TToiInvalidArgumentException, TToiUnavailableException);
01219   
01245   //@ [OutParam(Name=streamInfo,Position=2,IsBinary=0, Bound=0)]
01246   ToiMediaPlayerBaseSubtitleStreamInfo getSubtitleStreamInfo(in ToiMediaPlayerBaseComponentEntry mediaComponent)
01247    raises (TToiSessionViolationException, TToiInvalidArgumentException, TToiUnavailableException);
01248   
01274   //@ [OutParam(Name=streamInfo,Position=2,IsBinary=0, Bound=0)]
01275   ToiMediaPlayerBaseTeletextStreamInfo getTeletextStreamInfo(in ToiMediaPlayerBaseComponentEntry mediaComponent)
01276    raises (TToiSessionViolationException, TToiInvalidArgumentException, TToiUnavailableException);
01277   
01303   //@ [OutParam(Name=capabilityMask,Position=1,IsBinary=0, Bound=0)]
01304   long getCapabilities()
01305    raises (TToiSessionViolationException, TToiUnavailableException);
01306   
01333   //@ [OutParam(Name=position,Position=1,IsBinary=0, Bound=0)]
01334   long getPosition()
01335    raises (TToiSessionViolationException, TToiOperationNotSupportedException, TToiUnavailableException);
01336   
01368   //@ [OutParam(Name=pace,Position=1,IsBinary=0, Bound=0)]
01369   long getPace()
01370    raises (TToiSessionViolationException, TToiOperationNotSupportedException, TToiUnavailableException);
01371   
01392   //@ [OutParam(Name=positionInfo,Position=1,IsBinary=0, Bound=0)]
01393   ToiMediaPlayerBasePositionInfo getPositionInfo()
01394    raises (TToiSessionViolationException, TToiOperationNotSupportedException, TToiUnavailableException);
01395   
01411   //@ [OutParam(Name=timeshiftPlayback,Position=1,IsBinary=0, Bound=0)]
01412   boolean isTimeshiftPlayback()
01413    raises (TToiSessionViolationException, TToiUnavailableException);
01414   
01430   //@ [OutParam(Name=timeshiftInfo,Position=1,IsBinary=0, Bound=0)]
01431   ToiMediaPlayerBaseTimeshiftInfo getTimeshiftInfo()
01432    raises (TToiSessionViolationException, TToiUnavailableException);
01433   
01442   //@ [OutParam(Name=timeshiftError,Position=1,IsBinary=0, Bound=0)]
01443   ToiMediaPlayerBaseError getTimeshiftError();
01444   
01465   //@ [OutParam(Name=info,Position=1,IsBinary=0, Bound=0)]
01466   ToiMediaPlayerBaseMediaBufferInfo getMediaBufferInfo()
01467    raises (TToiSessionViolationException, TToiOperationNotSupportedException, TToiUnavailableException);
01468   
01489   //@ [OutParam(Name=value,Position=2,IsBinary=0, Bound=0)]
01490   string getParameter(in string name)
01491    raises (TToiInvalidArgumentException, TToiUnavailableException);
01492   
01515   //@ [EventFilter(AddressPosition=1)]
01516   
01517   
01518   void subscribeParameter(in ToiEventListener eventListener, 
01519         in string name)
01520    raises (TToiInvalidArgumentException, TToiUnavailableException);
01521   
01541   //@ [EventFilter(AddressPosition=1)]
01542   
01543   
01544   void unsubscribeParameter(in ToiEventListener eventListener, 
01545         in string name)
01546    raises (TToiInvalidArgumentException, TToiUnavailableException);
01547   
01552   //@ [ReleaseInstance]
01553   
01554   
01555   void releaseInstance();
01556   
01576   //@ [OutParam(Name=info,Position=1,IsBinary=0, Bound=0)]
01577   ToiMediaPlayerBasePresentationInfo getPresentationInfo()
01578    raises (TToiSessionViolationException, TToiUnavailableException);
01579   
01580 };
01581 
01582 #endif