WatchSession
@objc(AASDKWatchSession)
public protocol WatchSession
The WatchSession
protocol defines the connection between your app and the SDK.
-
Receives a message using a
Dictionary
format.Declaration
Swift
func receivedMessage(_ data: [String : Any])
-
Sets a new
WatchSessionDelegate
.Declaration
Swift
func setDelegate(_ delegate: WatchSessionDelegate)