Compartilhar via


DiscoverySessionCallback.OnMessageReceived(PeerHandle, Byte[]) Method

Definition

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

Parameters

peerHandle
PeerHandle
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