Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

SDLDeviceInfo Class Reference

Section Contents

Overview

Various information about connecting device. Referenced in RegisterAppInterface

+currentDevice

Undocumented

Objective-C

+ (instancetype)currentDevice;

Swift

class func currentDevice() -> Self

hardware

Device model

Optional

Objective-C

@property (readwrite, strong, nonatomic, nullable) NSString *hardware;

Swift

var hardware: String? { get set }

firmwareRev

Device firmware version

Optional

Objective-C

@property (readwrite, strong, nonatomic, nullable) NSString *firmwareRev;

Swift

var firmwareRev: String? { get set }

os

Device OS

Optional

Objective-C

@property (readwrite, strong, nonatomic, nullable) NSString *os;

Swift

var os: String? { get set }

osVersion

Device OS version

Optional

Objective-C

@property (readwrite, strong, nonatomic, nullable) NSString *osVersion;

Swift

var osVersion: String? { get set }

carrier

Device mobile carrier

Optional

Objective-C

@property (readwrite, strong, nonatomic, nullable) NSString *carrier;

Swift

var carrier: String? { get set }

maxNumberRFCOMMPorts

Number of bluetooth RFCOMM ports available.

Omitted if not connected via BT or on iOS

Optional

Objective-C

@property (readwrite, strong, nonatomic, nullable)
    NSNumber<SDLInt> *maxNumberRFCOMMPorts;

Swift

var maxNumberRFCOMMPorts: (NSNumber & SDLInt)? { get set }
View on GitHub.com
Previous Section Next Section