MSPush Class Reference
Inherits from | NSObject |
---|---|
Declared in | MSPush.h |
Other Methods
Initializing the MSPush Object
Working with Registrations
installationId
Gets the installation Id used to register the device with Notification Hubs.
@property (nonatomic, readonly, nonnull) NSString *installationId
Discussion
Gets the installation Id used to register the device with Notification Hubs.
Declared In
MSPush.h
– registerDeviceToken:completion:
Register for notifications with given a deviceToken.
- (void)registerDeviceToken:(nonnull NSData *)deviceToken completion:(nullable MSCompletionBlock)completion
Discussion
Register for notifications with given a deviceToken.
Declared In
MSPush.h
– registerDeviceToken:template:completion:
Register for notifications with given deviceToken and a template.
- (void)registerDeviceToken:(nonnull NSData *)deviceToken template:(nullable NSDictionary *)template completion:(nullable MSCompletionBlock)completion
Discussion
Register for notifications with given deviceToken and a template.
Declared In
MSPush.h
– unregisterWithCompletion:
Unregister device from all notifications.
- (void)unregisterWithCompletion:(nullable MSCompletionBlock)completion
Discussion
Unregister device from all notifications.
Declared In
MSPush.h