8#import <Foundation/Foundation.h>
191typedef NS_ENUM(NSInteger, WatchCommunicationState) {
NSInteger const WatchMessageErrorNeedsCommunicationSecured
Communication needs to be secured.
NSInteger const WatchMessageErrorPolicyNotAllowed
Not allowed by enterprise policy.
NSInteger const WatchMessageErrorIncompliant
Not allowed by enterprise policy.
NSString const * WatchMessageErrorUserInfoKey
Error User Info key for watch message error.
NSString const * WatchCommunicationStateKey
Watch Communication State Info key for watch.
NSInteger const WatchMessageErrorAppWiped
Communication has failed.
NSString const * WatchCommunicationStateWillUpdateNotification
Watch Communication State Update Notification.
NSString const * WatchMessageErrorDomain
Error domain for watch message error.
NSInteger const WatchMessageErrorRemoteLocked
Communication has failed.
NSString const * WatchMessageErrorKey
Error key for watch message error.
NSInteger const WatchMessageErrorOther
Communication has failed.
BlackBerry Dynamics WatchOS interface to support secure messaging between WatchOS and iOS application...
Definition DynamicsWatch.h:185
WatchCommunicationState
Constants for WatchCommunicationState type.
Definition DynamicsWatch.h:191
@ WatchCommunicationNeedsConfirmOnPhone
A validation code has been sent to the phone which the user needs to confirm.
Definition DynamicsWatch.h:203
@ WatchCommunicationNeedsFirstLaunch
The companion app must be launched on iPhone to establish a connection.
Definition DynamicsWatch.h:209
@ WatchCommunicationNeedsConfirmOnBoth
Validation codes have been sent to both the phone and the watch which the user needs to confirm.
Definition DynamicsWatch.h:201
@ WatchCommunicationResetting
The secure communication between watch and iOS companion application is being reset.
Definition DynamicsWatch.h:197
@ WatchCommunicationNotAllowedRemoteLocked
Communication failed because the companion app is remote locked.
Definition DynamicsWatch.h:215
@ WatchCommunicationNeedsWristDetected
The watch must be worn by the user and secured with a passcode to enable communication.
Definition DynamicsWatch.h:207
@ WatchCommunicationStateNotSet
The secure communication between watch and iOS application has not been started.
Definition DynamicsWatch.h:193
@ WatchCommunicationNotAllowedWiped
Communication blocked because the iPhone app has been wiped.
Definition DynamicsWatch.h:219
@ WatchCommunicationNotAllowedByPolicy
Communication failed because the enterprise policy does not permit use of a wearable device.
Definition DynamicsWatch.h:213
@ WatchCommunicationNotAllowedIncompliant
Communication failed because the devices are incompliant with Device policies.
Definition DynamicsWatch.h:217
@ WatchCommunicationReady
The secure communication between watch and iOS companion application is authenticated and ready for u...
Definition DynamicsWatch.h:199
@ WatchCommunicationSecuringFailed
Securing of the communication channel was cancelled by the user or a validation code was rejected.
Definition DynamicsWatch.h:211
@ WatchCommunicationNeedsConfirmOnWatch
A validation code has been received on the watch which the user needs to confirm.
Definition DynamicsWatch.h:205
instancetype sharedBBDWatchIOS()
Get a reference to the BBDWatchIOS interface object.
void(^) authCompletionBlock(BOOL)
Conditional block indicating if authentication between the watch and companion app is successful.
Definition DynamicsWatch.h:229
void resetTrustBetweenDevices()
Reset the connection between watch and companion app.
WatchCommunicationState watchCommunicationState()
Watch Communication States.