#import <VOCommonPlayerDeviceInfo.h>
- (NSString * VOCommonPlayerDeviceInfo) getDeviceModel |
|
|
|
Get the device model name.
e.g. "iPhone2,1", @"iPhone4,1", @"iPod2,1", @"iPad1,1", @"iPad2,1"...
@"MacBookPro8,2"...
- Returns
- device model (NString); nil if get failed
- (long VOCommonPlayerDeviceInfo) getMaxCPUFrequency |
|
|
|
Get the maximum frequency of the CPU.
- Returns
- maximum frequency of CPU; -1 if get failed
- (int VOCommonPlayerDeviceInfo) getNumberOfCores |
|
|
|
Get the number of CPU cores.
- Returns
- the number of CPU cores; -1 if get failed
- (VO_OSMP_DEVICE_INFO_OS_TYPE VOCommonPlayerDeviceInfo) getOSType |
|
|
|
- (NSString * VOCommonPlayerDeviceInfo) getOSVersion |
|
|
|
Get the OS version (the system version).
e.g. iOS: "4.0"
OS X: @"10.7.5"
- Returns
- OS version (NSString); nil if get failed
- (bool VOCommonPlayerDeviceInfo) hasNeon |
|
|
|
Check if Neon is available.
- Returns
- true if neon is available, false if not available
The documentation for this protocol was generated from the following file: