Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
Android Documentation

Interface OnPermissionChangeListener



OnPermissionChangeListener is a listener which includes a callback method that can be called when there are permission changes


onPermissionsChange( java.util.Map<com.smartdevicelink.protocol.enums.FunctionID, com.smartdevicelink.managers.permission.PermissionStatus> allowedPermissions, int permissionGroupStatus )

Call back method that PermissionManager will call to inform the developer about permission changes

public void onPermissionsChange(java.util.Map<com.smartdevicelink.protocol.enums.FunctionID, com.smartdevicelink.managers.permission.PermissionStatus> allowedPermissions,int permissionGroupStatus)

Method Parameters

an overall view about the status of the permissions
a detailed view about which permissions are allowed and which ones are not
View on GitHub.com
Previous Section Next Section