Android.Net.Wifi.WifiManager.CreateWifiLock Method
Creates a new WifiLock.

Syntax

[Android.Runtime.Register("createWifiLock", "(Ljava/lang/String;)Landroid/net/wifi/WifiManager$WifiLock;", "GetCreateWifiLock_Ljava_lang_String_Handler")]
public virtual WifiManager.WifiLock CreateWifiLock (string tag)

Parameters

tag
a tag for the WifiLock 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 WifiLock within it, if it holds multiple WifiLocks.

Returns

Documentation for this section has not yet been entered.

Remarks

Creates a new WifiLock.

[Android Documentation]

Requirements

Namespace: Android.Net.Wifi
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1