Tamber
@interface Tamber : NSObject
High-level wrapper for the Tamber iOS SDK.
-
Set the push token for the user (must set the user first)
Declaration
Objective-C
+ (void)setUserPushToken:(nullable NSString *)token;
Swift
class func setUserPushToken(_ token: String?)
Parameters
token
The unique push token for the user
-
Set the minimum time between push notifications for the user to override the global default.
Declaration
Objective-C
+ (void)setUserPushMinInterval:(int)interval;
Swift
class func setUserPushMinInterval(_ interval: Int32)
Parameters
interval
The mimimum interval (in seconds)
-
Set the location for the user (must set the user first)
Declaration
Objective-C
+ (void)setUserLocation:(nullable CLLocation *)location;
Swift
class func setUserLocation(_ location: CLLocation?)
Parameters
location
The current location for the user