Share via


WCSessionDelegate_Extensions.DidReceiveMessage Method

Definition

Overloads

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

Method that is called after a message is received.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void DidReceiveMessage(this WatchConnectivity.IWCSessionDelegate This, WatchConnectivity.WCSession session, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> message);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member DidReceiveMessage : WatchConnectivity.IWCSessionDelegate * WatchConnectivity.WCSession * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> -> unit

Parameters

session
WCSession
Attributes

Applies to

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

Method that is called after a message is received.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void DidReceiveMessage(this WatchConnectivity.IWCSessionDelegate This, WatchConnectivity.WCSession session, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> message, WatchConnectivity.WCSessionReplyHandler replyHandler);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member DidReceiveMessage : WatchConnectivity.IWCSessionDelegate * WatchConnectivity.WCSession * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> * WatchConnectivity.WCSessionReplyHandler -> unit

Parameters

session
WCSession
replyHandler
WCSessionReplyHandler
Attributes

Applies to