Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

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