WifiManager.QuerySendDhcpHostnameRestriction(IExecutor, IIntConsumer) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Query the global restriction on which networks to send the device hostname to during DHCP.
[Android.Runtime.Register("querySendDhcpHostnameRestriction", "(Ljava/util/concurrent/Executor;Ljava/util/function/IntConsumer;)V", "GetQuerySendDhcpHostnameRestriction_Ljava_util_concurrent_Executor_Ljava_util_function_IntConsumer_Handler", ApiSince=35)]
public virtual void QuerySendDhcpHostnameRestriction (Java.Util.Concurrent.IExecutor executor, Java.Util.Functions.IIntConsumer resultsCallback);
[<Android.Runtime.Register("querySendDhcpHostnameRestriction", "(Ljava/util/concurrent/Executor;Ljava/util/function/IntConsumer;)V", "GetQuerySendDhcpHostnameRestriction_Ljava_util_concurrent_Executor_Ljava_util_function_IntConsumer_Handler", ApiSince=35)>]
abstract member QuerySendDhcpHostnameRestriction : Java.Util.Concurrent.IExecutor * Java.Util.Functions.IIntConsumer -> unit
override this.QuerySendDhcpHostnameRestriction : Java.Util.Concurrent.IExecutor * Java.Util.Functions.IIntConsumer -> unit
Parameters
- executor
- IExecutor
The executor on which callback will be invoked.
- resultsCallback
- IIntConsumer
An asynchronous callback that will return a bitmask of
SendDhcpHostnameRestriction
.
- Attributes
Remarks
Query the global restriction on which networks to send the device hostname to during DHCP.
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.