Language

NsdManager.ServicePermissionGranted Field

Definition

Caution

This constant will be removed in the future version. Use Android.Net.Nsd.PermissionCheckCode enum directly instead of this field.

Indicates the caller can register service info callbacks or resolve a service.

[Android.Runtime.Register("SERVICE_PERMISSION_GRANTED", ApiSince=37)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Net.Nsd.PermissionCheckCode enum directly instead of this field.", true)]
public const Android.Net.Nsd.PermissionCheckCode ServicePermissionGranted = 1;
[<Android.Runtime.Register("SERVICE_PERMISSION_GRANTED", ApiSince=37)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Net.Nsd.PermissionCheckCode enum directly instead of this field.", true)>]
val mutable ServicePermissionGranted : Android.Net.Nsd.PermissionCheckCode

Field Value

Value = 1
Attributes

Remarks

Indicates the caller can register service info callbacks or resolve a service.

This is a result code for checkPermissionForService(String,String,Executor,IntConsumer).

Android reference for android.net.nsd.NsdManager.SERVICE_PERMISSION_GRANTED.

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.

Applies to