共用方式為


DiscoverySession.SendMessage(PeerHandle, Int32, Byte[]) Method

Definition

[Android.Runtime.Register("sendMessage", "(Landroid/net/wifi/aware/PeerHandle;I[B)V", "GetSendMessage_Landroid_net_wifi_aware_PeerHandle_IarrayBHandler", ApiSince=26)]
public virtual void SendMessage (Android.Net.Wifi.Aware.PeerHandle peerHandle, int messageId, byte[]? message);
[<Android.Runtime.Register("sendMessage", "(Landroid/net/wifi/aware/PeerHandle;I[B)V", "GetSendMessage_Landroid_net_wifi_aware_PeerHandle_IarrayBHandler", ApiSince=26)>]
abstract member SendMessage : Android.Net.Wifi.Aware.PeerHandle * int * byte[] -> unit
override this.SendMessage : Android.Net.Wifi.Aware.PeerHandle * int * byte[] -> unit

Parameters

peerHandle
PeerHandle
messageId
Int32
message
Byte[]
Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to