VOCommonPlayerHDMI.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 #import "VOOSMPType.h"
15 
16 #ifdef __cplusplus
17 extern "C"{
18 #endif /* __cplusplus */
19 
23  typedef enum {
25  VO_OSMP_HDMISTATE_DISCONNECT = 0,
27  VO_OSMP_HDMISTATE_CONNECT = 1,
29  VO_OSMP_HDMISTATE_UNKNOWN = 2,
30 
31  VO_OSMP_HDMISTATE_MAX = 0X7FFFFFFF
32  } VO_OSMP_HDMI_CONNECTION_STATUS;
33 
34 #ifdef __cplusplus
35 } /* extern "C" */
36 #endif /* __cplusplus */
37 
39 
40 
41 @protocol VOCommonPlayerHDMI <NSObject>
42 
50 - (VO_OSMP_RETURN_CODE) enableHDMIDetection:(bool)value;
51 
57 - (bool) isHDMIDetectionSupported;
58 
64 - (VO_OSMP_HDMI_CONNECTION_STATUS) getHDMIStatus;
65 
73 - (VO_OSMP_RETURN_CODE) setOnHDMIConnectionChangeDelegate:(id <onHDMIConnectionChangeDelegate>)delegate;
74 
75 @end
76 
77 @protocol onHDMIConnectionChangeDelegate<NSObject>
86 - (VO_OSMP_RETURN_CODE) onHDMIStateChangeEvent:(VO_OSMP_HDMI_CONNECTION_STATUS)nID;
87 
88 @end
89 
Definition: VOCommonPlayerHDMI.h:77