Share via


WifiManager.CreateMulticastLock(String) Method

Definition

Create a new MulticastLock

[Android.Runtime.Register("createMulticastLock", "(Ljava/lang/String;)Landroid/net/wifi/WifiManager$MulticastLock;", "GetCreateMulticastLock_Ljava_lang_String_Handler")]
public virtual Android.Net.Wifi.WifiManager.MulticastLock? CreateMulticastLock (string? tag);
[<Android.Runtime.Register("createMulticastLock", "(Ljava/lang/String;)Landroid/net/wifi/WifiManager$MulticastLock;", "GetCreateMulticastLock_Ljava_lang_String_Handler")>]
abstract member CreateMulticastLock : string -> Android.Net.Wifi.WifiManager.MulticastLock
override this.CreateMulticastLock : string -> Android.Net.Wifi.WifiManager.MulticastLock

Parameters

tag
String

a tag for the MulticastLock to identify it in debugging messages. This string is never shown to the user under normal conditions, but should be descriptive enough to identify your application and the specific MulticastLock within it, if it holds multiple MulticastLocks.

Returns

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