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
Documentation
OnPermissionChangeListener

Interface OnPermissionChangeListener

Package
com.smartdevicelink.managers.permission

Overview

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

Methods

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)

Parameters

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