SFSDKDeviceAppAttributes Class Reference

Inherits from NSObject
Declared in SFSDKDeviceAppAttributes.h

  appVersion

@property (nonatomic, strong, readonly, nonnull) NSString *appVersion

  appName

@property (nonatomic, strong, readonly, nonnull) NSString *appName

  osVersion

@property (nonatomic, strong, readonly, nonnull) NSString *osVersion

  osName

@property (nonatomic, strong, readonly, nonnull) NSString *osName

  nativeAppType

@property (nonatomic, strong, readonly, nonnull) NSString *nativeAppType

  mobileSdkVersion

@property (nonatomic, strong, readonly, nonnull) NSString *mobileSdkVersion

  deviceModel

@property (nonatomic, strong, readonly, nonnull) NSString *deviceModel

  deviceId

@property (nonatomic, strong, readonly, nonnull) NSString *deviceId

  clientId

@property (nonatomic, strong, readonly, nonnull) NSString *clientId

– initWithAppVersion:appName:osVersion:osName:nativeAppType:mobileSdkVersion:deviceModel:deviceId:clientId:

Parameterized initializer.

- (nonnull instancetype)initWithAppVersion:(nonnull NSString *)appVersion appName:(nonnull NSString *)appName osVersion:(nonnull NSString *)osVersion osName:(nonnull NSString *)osName nativeAppType:(nonnull NSString *)nativeAppType mobileSdkVersion:(nonnull NSString *)mobileSdkVersion deviceModel:(nonnull NSString *)deviceModel deviceId:(nonnull NSString *)deviceId clientId:(nonnull NSString *)clientId

Parameters

appVersion

App version.

appName

App name.

osVersion

OS version.

osName

OS name.

nativeAppType

Native app type.

mobileSdkVersion

Mobile SDK version.

deviceModel

Device model.

deviceId

Device ID.

clientId

Client ID.

Return Value

Instance of this class.

Declared In

SFSDKDeviceAppAttributes.h

– initWithJson:

Parameterized initializer.

- (nonnull instancetype)initWithJson:(nonnull NSDictionary *)jsonRepresentation

Parameters

jsonRepresentation

JSON representation.

Return Value

Instance of this class.

Declared In

SFSDKDeviceAppAttributes.h

– jsonRepresentation

Returns a JSON representation of device app attributes.

- (nonnull NSDictionary *)jsonRepresentation

Return Value

JSON representation.

Declared In

SFSDKDeviceAppAttributes.h