Condividi tramite


WifiP2pDeviceList.Get(String) Method

Definition

Fetch a device from the list

[Android.Runtime.Register("get", "(Ljava/lang/String;)Landroid/net/wifi/p2p/WifiP2pDevice;", "GetGet_Ljava_lang_String_Handler")]
public virtual Android.Net.Wifi.P2p.WifiP2pDevice? Get (string? deviceAddress);
[<Android.Runtime.Register("get", "(Ljava/lang/String;)Landroid/net/wifi/p2p/WifiP2pDevice;", "GetGet_Ljava_lang_String_Handler")>]
abstract member Get : string -> Android.Net.Wifi.P2p.WifiP2pDevice
override this.Get : string -> Android.Net.Wifi.P2p.WifiP2pDevice

Parameters

deviceAddress
String

is the address of the device

Returns

WifiP2pDevice device found, or null if none found

Attributes

Remarks

Fetch a device from the list

Java documentation for android.net.wifi.p2p.WifiP2pDeviceList.get(java.lang.String).

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