DiscoveryRequest.FlagUserApprovedOnly 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 only services previously approved by the user must be discovered.
[Android.Runtime.Register("FLAG_USER_APPROVED_ONLY", ApiSince=37)]
public const long FlagUserApprovedOnly = 4;
[<Android.Runtime.Register("FLAG_USER_APPROVED_ONLY", ApiSince=37)>]
val mutable FlagUserApprovedOnly : int64
Field Value
Value = 4Implements
- Attributes
Remarks
Indicates that only services previously approved by the user must be discovered.
If this flag is set, only services that have been selected by the user in previous requests that used the service picker UI will be discovered. Manifest.permission.ACCESS_LOCAL_NETWORK permission is *not* necessary when discovering with this flag.
Android reference for android.net.nsd.DiscoveryRequest.FLAG_USER_APPROVED_ONLY.
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.