DiscoveryRequest.Builder.SetNetwork(Network) 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.
Sets the Network on which the discovery queries should be sent.
[Android.Runtime.Register("setNetwork", "(Landroid/net/Network;)Landroid/net/nsd/DiscoveryRequest$Builder;", "", ApiSince=35)]
public Android.Net.Nsd.DiscoveryRequest.Builder SetNetwork(Android.Net.Network? network);
[<Android.Runtime.Register("setNetwork", "(Landroid/net/Network;)Landroid/net/nsd/DiscoveryRequest$Builder;", "", ApiSince=35)>]
member this.SetNetwork : Android.Net.Network -> Android.Net.Nsd.DiscoveryRequest.Builder
Parameters
- network
- Network
the discovery network or null if the query should be sent on all supported networks
Returns
- Attributes
Remarks
Sets the Network on which the discovery queries should be sent.
Android reference for android.net.nsd.DiscoveryRequest.Builder.setNetwork.
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.