SFSDKDeviceAppAttributes Class Reference
Inherits from | NSObject |
---|---|
Declared in | SFSDKDeviceAppAttributes.h |
– 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