AWSClientContext

Objective-C

@interface AWSClientContext : NSObject

#pragma mark - App Details
@property (nonatomic, strong, readonly) NSString *installationId;
@property (nonatomic, strong) NSString *appVersion;
@property (nonatomic, strong) NSString *appBuild;
@property (nonatomic, strong) NSString *appPackageName;
@property (nonatomic, strong) NSString *appName;

#pragma mark - Device Details
@property (nonatomic, strong) NSString *devicePlatformVersion;
@property (nonatomic, strong) NSString *devicePlatform;
@property (nonatomic, strong) NSString *deviceManufacturer;
@property (nonatomic, strong) NSString *deviceModel;
@property (nonatomic, strong) NSString *deviceModelVersion;
@property (nonatomic, strong) NSString *deviceLocale;

#pragma mark - Custom Attributes
@property (nonatomic, strong) NSDictionary *customAttributes;

#pragma mark - Service Details
@property (nonatomic, strong, readonly) NSDictionary *serviceDetails;

- (instancetype)init;

- (NSDictionary *)dictionaryRepresentation;

- (NSString *)JSONString;

- (NSString *)base64EncodedJSONString;

- (void)setDetails:(id)details
        forService:(NSString *)service;

@end

Swift

class AWSClientContext : NSObject

Undocumented

App Details

  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSString *installationId

    Swift

    var installationId: String! { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *appVersion

    Swift

    var appVersion: String! { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *appBuild

    Swift

    var appBuild: String! { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *appPackageName

    Swift

    var appPackageName: String! { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *appName

    Swift

    var appName: String! { get set }

Device Details

  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *devicePlatformVersion

    Swift

    var devicePlatformVersion: String! { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *devicePlatform

    Swift

    var devicePlatform: String! { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *deviceManufacturer

    Swift

    var deviceManufacturer: String! { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *deviceModel

    Swift

    var deviceModel: String! { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *deviceModelVersion

    Swift

    var deviceModelVersion: String! { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *deviceLocale

    Swift

    var deviceLocale: String! { get set }

Custom Attributes

  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDictionary *customAttributes

    Swift

    var customAttributes: [AnyHashable : Any]! { get set }

Service Details

  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSDictionary *serviceDetails

    Swift

    var serviceDetails: [AnyHashable : Any]! { get }
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)init;

    Swift

    init!()
  • Undocumented

    Declaration

    Objective-C

    - (NSDictionary *)dictionaryRepresentation;

    Swift

    func dictionaryRepresentation() -> [AnyHashable : Any]!
  • Undocumented

    Declaration

    Objective-C

    - (NSString *)JSONString;

    Swift

    func jsonString() -> String!
  • Undocumented

    Declaration

    Objective-C

    - (NSString *)base64EncodedJSONString;

    Swift

    func base64EncodedJSONString() -> String!
  • Undocumented

    Declaration

    Objective-C

    - (void)setDetails:(id)details
            forService:(NSString *)service;

    Swift

    func setDetails(_ details: Any!, forService service: String!)