편집

다음을 통해 공유


WCSessionDelegate.DidReceiveMessage Method

Definition

Overloads

DidReceiveMessage(WCSession, NSDictionary<NSString,NSObject>)

Method that is called after a message is received.

DidReceiveMessage(WCSession, NSDictionary<NSString,NSObject>, WCSessionReplyHandler)

Method that is called after a message is received.

DidReceiveMessage(WCSession, NSDictionary<NSString,NSObject>)

Method that is called after a message is received.

[Foundation.Export("session:didReceiveMessage:")]
public virtual void DidReceiveMessage (WatchConnectivity.WCSession session, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> message);
abstract member DidReceiveMessage : WatchConnectivity.WCSession * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> -> unit
override this.DidReceiveMessage : WatchConnectivity.WCSession * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> -> unit

Parameters

session
WCSession
Attributes

Applies to

DidReceiveMessage(WCSession, NSDictionary<NSString,NSObject>, WCSessionReplyHandler)

Method that is called after a message is received.

[Foundation.Export("session:didReceiveMessage:replyHandler:")]
public virtual void DidReceiveMessage (WatchConnectivity.WCSession session, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> message, WatchConnectivity.WCSessionReplyHandler replyHandler);
abstract member DidReceiveMessage : WatchConnectivity.WCSession * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> * WatchConnectivity.WCSessionReplyHandler -> unit
override this.DidReceiveMessage : WatchConnectivity.WCSession * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> * WatchConnectivity.WCSessionReplyHandler -> unit

Parameters

session
WCSession
replyHandler
WCSessionReplyHandler
Attributes

Applies to