<VOCommonPlayerDeviceInfo > Protocol Reference

#import <VOCommonPlayerDeviceInfo.h>

+ Inheritance diagram for <VOCommonPlayerDeviceInfo >:

Instance Methods

(int) - getNumberOfCores
 Get the number of CPU cores. More...
 
(bool) - hasNeon
 Check if Neon is available. More...
 
(long) - getMaxCPUFrequency
 Get the maximum frequency of the CPU. More...
 
(VO_OSMP_DEVICE_INFO_OS_TYPE) - getOSType
 Get OS Type. More...
 
(NSString *) - getOSVersion
 Get the OS version (the system version). More...
 
(NSString *) - getDeviceModel
 Get the device model name. More...
 

Method Documentation

- (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

Get OS Type.

Returns
OS type VO_OSMP_DEVICE_INFO_OS_TYPE.
- (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: