CBLDeviceInfo
Objective-C
@protocol CBLDeviceInfo <NSObject>
Swift
protocol DeviceInfo : NSObjectProtocol
Information about a connected camera.
-
Returns the device’s manufacturer (for instance, ‘Canon’).
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *manufacturer;
Swift
var manufacturer: String? { get }
-
Returns the device’s model (for instance, ‘EOS M3’).
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *model;
Swift
var model: String? { get }
-
Returns the device’s software version (for instance, ‘V1.01’).
Note
This will sometimes differ from the user-visible software version the camera displays in its own UI.Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *version;
Swift
var version: String? { get }
-
Returns the device’s serial number.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *serialNumber;
Swift
var serialNumber: String? { get }