편집

다음을 통해 공유


WCSessionDelegate.DidReceiveMessageData Method

Definition

Overloads

DidReceiveMessageData(WCSession, NSData)

An immediate data message was received.

DidReceiveMessageData(WCSession, NSData, WCSessionReplyDataHandler)

An immediate data message was received and requires a response.

DidReceiveMessageData(WCSession, NSData)

An immediate data message was received.

[Foundation.Export("session:didReceiveMessageData:")]
public virtual void DidReceiveMessageData (WatchConnectivity.WCSession session, Foundation.NSData messageData);
abstract member DidReceiveMessageData : WatchConnectivity.WCSession * Foundation.NSData -> unit
override this.DidReceiveMessageData : WatchConnectivity.WCSession * Foundation.NSData -> unit

Parameters

session
WCSession
messageData
NSData
Attributes

Applies to

DidReceiveMessageData(WCSession, NSData, WCSessionReplyDataHandler)

An immediate data message was received and requires a response.

[Foundation.Export("session:didReceiveMessageData:replyHandler:")]
public virtual void DidReceiveMessageData (WatchConnectivity.WCSession session, Foundation.NSData messageData, WatchConnectivity.WCSessionReplyDataHandler replyHandler);
abstract member DidReceiveMessageData : WatchConnectivity.WCSession * Foundation.NSData * WatchConnectivity.WCSessionReplyDataHandler -> unit
override this.DidReceiveMessageData : WatchConnectivity.WCSession * Foundation.NSData * WatchConnectivity.WCSessionReplyDataHandler -> unit

Parameters

session
WCSession
messageData
NSData
Attributes

Applies to