SBSDKDeviceInformation
@interface SBSDKDeviceInformation : NSObject
Delivers information about the iOS device.
-
The name of the device.
Declaration
Objective-C
+ (NSString *)deviceName;
Swift
class func deviceName() -> String!
-
The full name of the device including the iOS version.
Declaration
Objective-C
+ (NSString *)fullDeviceName;
Swift
class func fullDeviceName() -> String!
-
Returns YES if the device should use medium scan quality, NO otherwise.
Declaration
Objective-C
+ (BOOL)deviceUsesMediumScanQuality;
Swift
class func deviceUsesMediumScanQuality() -> Bool
-
Returns YES if the device is able to perform live video processing, NO otherwise.
Declaration
Objective-C
+ (BOOL)deviceUsesVideoProcessing;
Swift
class func deviceUsesVideoProcessing() -> Bool
-
Returns YES if the device should use low performance document detection, NO otherwise.
Declaration
Objective-C
+ (BOOL)deviceUsesLowPerformanceDetection;
Swift
class func deviceUsesLowPerformanceDetection() -> Bool
-
Returns YES if the device works better with the ultra-wide camera.
Declaration
Objective-C
+ (BOOL)devicePrefersUltraWideCamera;
Swift
class func devicePrefersUltraWideCamera() -> Bool
-
Returns YES if the current device is a simulator, NO otherwise.
Declaration
Objective-C
+ (BOOL)isSimulatorDevice;
Swift
class func isSimulatorDevice() -> Bool