MCEWatchSdk Class Reference
Inherits from | NSObject |
---|---|
Conforms to | WCSessionDelegate |
Declared in | MCEWatchSdk.h MCEWatchSdk.m |
Other Methods
– sdkVersion
Get the current SDK Version number as a string.
- (NSString *)sdkVersion
Discussion
Get the current SDK Version number as a string.
Declared In
MCEWatchSdk.h
– applicationWillResignActive
This method should be called from the watch extension delegate’s applicationWillResignActive method
- (void)applicationWillResignActive
Discussion
This method should be called from the watch extension delegate’s applicationWillResignActive method
Declared In
MCEWatchSdk.h
– applicationDidBecomeActive
This method should be called from the watch extension delegate’s applicationDidBecomeActive method
- (void)applicationDidBecomeActive
Discussion
This method should be called from the watch extension delegate’s applicationDidBecomeActive method
Declared In
MCEWatchSdk.h
– applicationDidFinishLaunching
This method should be called from the watch extension delegate’s applicationDidFinishLaunching method
- (void)applicationDidFinishLaunching
Discussion
This method should be called from the watch extension delegate’s applicationDidFinishLaunching method
Declared In
MCEWatchSdk.h
– performNotificationAction:
This method will execute the notification action in the userInfo dictionary
- (void)performNotificationAction:(NSDictionary *)userInfo
Discussion
This method will execute the notification action in the userInfo dictionary
Declared In
MCEWatchSdk.h
– performNotificationAction:identifier:
This method will execute the category action referenced by the identified notification action.
- (void)performNotificationAction:(NSDictionary *)userInfo identifier:(NSString *)identifier
Discussion
This method will execute the category action referenced by the identified notification action.
Declared In
MCEWatchSdk.h
+ sharedInstance
This method returns the singleton object of this class.
+ (instancetype)sharedInstance
Discussion
This method returns the singleton object of this class.
Declared In
MCEWatchSdk.h
Other Methods
presentNotification
This property can be used to override if a notification is delivered to the device when the app is running.
@property (nonatomic, assign) BOOL ( ^ ) ( NSDictionary *userInfo ) presentNotification
Discussion
This property can be used to override if a notification is delivered to the device when the app is running.
Declared In
MCEWatchSdk.h