WifiManager.SetTdlsEnabled Method

Definition

Overloads

SetTdlsEnabled(InetAddress, Boolean)

Enable/Disable TDLS on a specific local route.

SetTdlsEnabled(InetAddress, Boolean, IExecutor, IConsumer)

SetTdlsEnabled(InetAddress, Boolean)

Enable/Disable TDLS on a specific local route.

[Android.Runtime.Register("setTdlsEnabled", "(Ljava/net/InetAddress;Z)V", "GetSetTdlsEnabled_Ljava_net_InetAddress_ZHandler")]
public virtual void SetTdlsEnabled (Java.Net.InetAddress? remoteIPAddress, bool enable);
[<Android.Runtime.Register("setTdlsEnabled", "(Ljava/net/InetAddress;Z)V", "GetSetTdlsEnabled_Ljava_net_InetAddress_ZHandler")>]
abstract member SetTdlsEnabled : Java.Net.InetAddress * bool -> unit
override this.SetTdlsEnabled : Java.Net.InetAddress * bool -> unit

Parameters

remoteIPAddress
InetAddress

IP address of the endpoint to setup TDLS with

enable
Boolean

true = setup and false = tear down TDLS

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

SetTdlsEnabled(InetAddress, Boolean, IExecutor, IConsumer)

[Android.Runtime.Register("setTdlsEnabled", "(Ljava/net/InetAddress;ZLjava/util/concurrent/Executor;Ljava/util/function/Consumer;)V", "GetSetTdlsEnabled_Ljava_net_InetAddress_ZLjava_util_concurrent_Executor_Ljava_util_function_Consumer_Handler", ApiSince=34)]
public virtual void SetTdlsEnabled (Java.Net.InetAddress remoteIPAddress, bool enable, Java.Util.Concurrent.IExecutor executor, Java.Util.Functions.IConsumer resultsCallback);
[<Android.Runtime.Register("setTdlsEnabled", "(Ljava/net/InetAddress;ZLjava/util/concurrent/Executor;Ljava/util/function/Consumer;)V", "GetSetTdlsEnabled_Ljava_net_InetAddress_ZLjava_util_concurrent_Executor_Ljava_util_function_Consumer_Handler", ApiSince=34)>]
abstract member SetTdlsEnabled : Java.Net.InetAddress * bool * Java.Util.Concurrent.IExecutor * Java.Util.Functions.IConsumer -> unit
override this.SetTdlsEnabled : Java.Net.InetAddress * bool * Java.Util.Concurrent.IExecutor * Java.Util.Functions.IConsumer -> unit

Parameters

remoteIPAddress
InetAddress
enable
Boolean
executor
IExecutor
resultsCallback
IConsumer
Attributes

Applies to