編輯

共用方式為


WCSessionDelegate_Extensions.DidReceiveMessage Method

Definition

Overloads

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

An immediate message was received.

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

An immediate message was received.

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

An immediate message was received.

public static void DidReceiveMessage (this WatchConnectivity.IWCSessionDelegate This, WatchConnectivity.WCSession session, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> message);
static member DidReceiveMessage : WatchConnectivity.IWCSessionDelegate * WatchConnectivity.WCSession * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> -> unit

Parameters

This
IWCSessionDelegate

The instance on which this extension method operates.

session
WCSession

Applies to

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

An immediate message was received.

public static void DidReceiveMessage (this WatchConnectivity.IWCSessionDelegate This, WatchConnectivity.WCSession session, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> message, WatchConnectivity.WCSessionReplyHandler replyHandler);
static member DidReceiveMessage : WatchConnectivity.IWCSessionDelegate * WatchConnectivity.WCSession * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> * WatchConnectivity.WCSessionReplyHandler -> unit

Parameters

This
IWCSessionDelegate

The instance on which this extension method operates.

session
WCSession
replyHandler
WCSessionReplyHandler

Applies to