VOCommonPlayerStatus.h
1 /************************************************************************
2 VisualOn Proprietary
3 Copyright (c) 2012-2016, VisualOn, Inc. All Rights Reserved
4 
5 All data and information contained in or disclosed by this document are
6 confidential and proprietary information of VisualOn, Inc, and all rights
7 therein are expressly reserved. By accepting this material, the recipient
8 agrees that this material and the information contained therein are held
9 in confidence and in trust. The material may only be used and/or disclosed
10 as authorized in a license agreement controlling such use and disclosure.
11 ************************************************************************/
12 
13 #import <Foundation/Foundation.h>
14 
15 #import "VOOSMPType.h"
16 
17 @protocol VOCommonPlayerStatus <NSObject>
18 
24 - (VO_OSMP_PLAYER_ENGINE) getPlayerType;
25 
26 
32 - (VO_OSMP_STATUS) getPlayerStatus;
33 
34 
40 - (bool) canBePaused;
41 
47 - (BOOL) canPlayIframeOnly;
48 
49 
55 - (bool) isLiveStreaming;
56 
57 
72 - (long) getPosition;
73 
74 
85 - (long) getMinPosition;
86 
87 
101 - (long) getMaxPosition;
102 
103 
109 - (long long) getUTCPosition;
110 
111 
117 - (long) getDuration;
118 
119 
125 - (int) getScreenBrightness;
126 
127 
136 - (NSString *) getDRMUniqueIdentifier;
137 
138 
150 - (NSString*) getVersion:(VO_OSMP_MODULE_TYPE)module;
151 
152 
160 - (VO_OSMP_DOWNLOAD_STATUS) getDownloadStatus:(VO_OSMP_SOURCE_STREAMTYPE)trackType;
161 
162 
168 - (int) getValidBufferDuration;
169 
170 
179 - (id) getSEIInfo:(long long)time flag:(VO_OSMP_SEI_INFO_FLAG)flag;
180 
181 
189 - (BOOL) isOutputControlActive:(VO_OSMP_OUTPUT_CONTROL_TYPE)type;
190 
191 
199 - (BOOL) isOutputControlEnforce:(VO_OSMP_OUTPUT_CONTROL_TYPE)type;
200 
201 
209 - (VO_OSMP_RETURN_CODE) getParameter:(int)paramID pObj:(void *)pObj;
210 
211 @end