MSPush Class Reference
Inherits from | NSObject |
---|---|
Declared in | MSPush.h |
Initializing the MSPush Object
Working with Native Registrations
– registerNativeWithDeviceToken:tags:completion:
Register for notifications with given deviceToken and tags. deviceToken is required.
- (void)registerNativeWithDeviceToken:(NSData *)deviceToken tags:(NSArray *)tags completion:(MSCompletionBlock)completion
Discussion
Register for notifications with given deviceToken and tags. deviceToken is required.
Declared In
MSPush.h
– unregisterNativeWithCompletion:
Unregister for native notififications.
- (void)unregisterNativeWithCompletion:(MSCompletionBlock)completion
Discussion
Unregister for native notififications.
Declared In
MSPush.h
Working with Template Registrations
– registerTemplateWithDeviceToken:name:jsonBodyTemplate:expiryTemplate:tags:completion:
Register for template notififications. deviceToken, name and bodyTemplate are required. See http://go.microsoft.com/fwlink/?LinkId=401137 for furthur details.
- (void)registerTemplateWithDeviceToken:(NSData *)deviceToken name:(NSString *)name jsonBodyTemplate:(NSString *)bodyTemplate expiryTemplate:(NSString *)expiryTemplate tags:(NSArray *)tags completion:(MSCompletionBlock)completion
Discussion
Register for template notififications. deviceToken, name and bodyTemplate are required. See http://go.microsoft.com/fwlink/?LinkId=401137 for furthur details.
Declared In
MSPush.h
– unregisterTemplateWithName:completion:
Unregister for tempalte notifications. name is required.
- (void)unregisterTemplateWithName:(NSString *)name completion:(MSCompletionBlock)completion
Discussion
Unregister for tempalte notifications. name is required.
Declared In
MSPush.h
Debug utilities--Unregistering All Registrations
– unregisterAllWithDeviceToken:completion:
Unregister for all native and template registrations. deviceToken is required. NOT RECOMMENDED FOR USE IN PRODUCTION APPLICATON.
- (void)unregisterAllWithDeviceToken:(NSData *)deviceToken completion:(MSCompletionBlock)completion
Discussion
Unregister for all native and template registrations. deviceToken is required. NOT RECOMMENDED FOR USE IN PRODUCTION APPLICATON.
Declared In
MSPush.h