VOCommonPlayerDeviceInfo.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 #ifdef __cplusplus
16 extern "C"{
17 #endif /* __cplusplus */
18 
23  typedef enum {
25  VO_OSMP_DEVICE_INFO_OS_IOS = 0,
26 
28  VO_OSMP_DEVICE_INFO_OS_OSX = 1,
29 
31  VO_OSMP_DEVICE_INFO_OS_ANDROID = 2,
32 
34  VO_OSMP_DEVICE_INFO_OS_MAX = 0X7FFFFFFF
35  } VO_OSMP_DEVICE_INFO_OS_TYPE;
36 
37 #ifdef __cplusplus
38 } /* extern "C" */
39 #endif /* __cplusplus */
40 
41 @protocol VOCommonPlayerDeviceInfo <NSObject>
42 
48 - (int) getNumberOfCores;
49 
50 
56 - (bool) hasNeon;
57 
58 
64 - (long) getMaxCPUFrequency;
65 
66 
72 - (VO_OSMP_DEVICE_INFO_OS_TYPE) getOSType;
73 
74 
82 - (NSString *) getOSVersion;
83 
84 
92 - (NSString *) getDeviceModel;
93 
94 @end
95 
96