Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IKeplerSecurityModule1

interface IKeplerSecurityModule1
Extends IKeplerSecurityModule

Methods

requestPrivilegesForCurrentContext()

bool[] requestPrivilegesForCurrentContext(string[] privileges)
Ask to enable a list of privileges for the current security context Generally this is used to display a UI element (or multiple in succession) that allows device users to decide whether or not to grant an application access to a list of privileges.

Parameters

privileges
string[] — Required The privilege names to request

Returns

bool[] A list containing true for each privilege that is enabled, otherwise false. The order of the returned list matches the order of the input privileges parameter, such that returned_list[i] is the user’s response to the request for privileges[i].
Last modified on October 29, 2026