GMBLDeviceAttributesManager Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | GMBLDeviceAttributesManager.h |
Overview
The GMBLDeviceManager class will store attributes associated to the specific user of the application.
– getDeviceAttributes
Returns a dictionary of all the attributes currenty associated with a user.
- (NSDictionary *)getDeviceAttributesDiscussion
Returns a dictionary of all the attributes currenty associated with a user.
Declared In
GMBLDeviceAttributesManager.h
– setDeviceAttributes:
Overwrites current attributes with the passed in dictionary. Passing nil or an empty dictionary will remove all current attributes from the app.
- (BOOL)setDeviceAttributes:(nullable NSDictionary *)attributesParameters
attributes |
The new desired attributes for a user |
|---|
Discussion
Overwrites current attributes with the passed in dictionary. Passing nil or an empty dictionary will remove all current attributes from the app.
Declared In
GMBLDeviceAttributesManager.h
– setDeviceAttribute:value:
Set device attribute using key, value params.
- (void)setDeviceAttribute:(NSString *)key value:(NSString *)valueParameters
key |
Key |
|---|---|
value |
Value to set for Key |
Discussion
Set device attribute using key, value params.
Declared In
GMBLDeviceAttributesManager.h
– removeDeviceAttributeForKey:
Removes value for specific key
- (void)removeDeviceAttributeForKey:(NSString *)keyParameters
key |
The new desired key to remove value from |
|---|
Discussion
Removes value for specific key
Declared In
GMBLDeviceAttributesManager.h
– getDeviceAttributeForKey:
Returns a value for specific key
- (nullable NSString *)getDeviceAttributeForKey:(NSString *)keyParameters
key |
The new desired key to return value from |
|---|
Discussion
Returns a value for specific key
Declared In
GMBLDeviceAttributesManager.h