All pages
Powered by GitBook
1 of 1

Loading...

DeviceInformation

Create an instance of the DeviceInformation from Idevice.getDeviceInfo. Then use the function calls described in this chapter.

deviceModel

This property returns the model name of the device.

NSString* deviceModel;

Return Value:

Returns the model name of the device.

deviceName

This property returns the name of the device.

NSString* deviceName;

Return Value:

Returns the name of the device.

deviceSerial

This property returns the serial number of the device.

NSString* deviceSerial;

Return Value:

Returns the serial number of the device.

initWithName

This function initializes an instance of DeviceInfo.

(instancetype) initWithName: (NSString*) name 
                model: (NSString*) model 
        serialNumber: (NSString*) sn;

Parameter

Description

name

Name

model

Model

sn

Serial number