DiscoveryRequest.Builder(String) Constructor
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.
Creates a new default Builder object with given service type.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=35)]
public Builder(string serviceType);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=35)>]
new Android.Net.Nsd.DiscoveryRequest.Builder : string -> Android.Net.Nsd.DiscoveryRequest.Builder
Parameters
- serviceType
- String
The nonempty service type to discover, such as _ipp._tcp. The first label starts with an underscore; the second is _tcp or _udp.
- Attributes
Remarks
Creates a new default Builder object with given service type.
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.