Lingua

PermissionCheckCode Enum

Definition

public enum PermissionCheckCode
type PermissionCheckCode = 
Inheritance
PermissionCheckCode

Fields

Name Value Description
Granted 1

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.

Denied 2

Indicates the caller is not allowed to 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_DENIED.

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