DiscoveryRequest.FlagNoPicker Field
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.
Indicates that a UI service picker should never be shown to the user for this request.
[Android.Runtime.Register("FLAG_NO_PICKER", ApiSince=37)]
public const long FlagNoPicker = 1;
[<Android.Runtime.Register("FLAG_NO_PICKER", ApiSince=37)>]
val mutable FlagNoPicker : int64
Field Value
Value = 1Implements
- Attributes
Remarks
Indicates that a UI service picker should never be shown to the user for this request.
Starting from target SDK Build.VERSION_CODES.CINNAMON_BUN, if the caller does not have the Manifest.permission.ACCESS_LOCAL_NETWORK permission and does not specify FLAG_USER_APPROVED_ONLY, this will cause the request to fail with android.net.nsd.NsdManager.DiscoveryListener.onStartDiscoveryFailed(String,int) and NsdManager.FAILURE_PERMISSION_DENIED.
Android reference for android.net.nsd.DiscoveryRequest.FLAG_NO_PICKER.
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.