WCSession.SendMessage Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
SendMessage(NSData, WCSessionReplyDataHandler, Action<NSError>) |
Envia |
SendMessage(NSDictionary<NSString,NSObject>, WCSessionReplyHandler, Action<NSError>) |
Envia a mensagem para o dispositivo emparelhado ativo. |
SendMessage(NSData, WCSessionReplyDataHandler, Action<NSError>)
Envia data
para o aplicativo complementar.
[Foundation.Export("sendMessageData:replyHandler:errorHandler:")]
public virtual void SendMessage (Foundation.NSData data, WatchConnectivity.WCSessionReplyDataHandler replyHandler, Action<Foundation.NSError> errorHandler);
abstract member SendMessage : Foundation.NSData * WatchConnectivity.WCSessionReplyDataHandler * Action<Foundation.NSError> -> unit
override this.SendMessage : Foundation.NSData * WatchConnectivity.WCSessionReplyDataHandler * Action<Foundation.NSError> -> unit
Parâmetros
- data
- NSData
- Atributos
Aplica-se a
SendMessage(NSDictionary<NSString,NSObject>, WCSessionReplyHandler, Action<NSError>)
Envia a mensagem para o dispositivo emparelhado ativo.
[Foundation.Export("sendMessage:replyHandler:errorHandler:")]
public virtual void SendMessage (Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> message, WatchConnectivity.WCSessionReplyHandler replyHandler, Action<Foundation.NSError> errorHandler);
abstract member SendMessage : Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> * WatchConnectivity.WCSessionReplyHandler * Action<Foundation.NSError> -> unit
override this.SendMessage : Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> * WatchConnectivity.WCSessionReplyHandler * Action<Foundation.NSError> -> unit
Parâmetros
- message
- NSDictionary<NSString,NSObject>
- Atributos