AppRolesListener

public interface AppRolesListener


Listener for app roles set events.

Summary

Public methods

abstract @NonNull AppRolesSetResponse

Called when the roles for the app are set by Android Device Policy.

Public methods

onAppRolesSet

abstract @NonNull AppRolesSetResponse onAppRolesSet(@NonNull AppRolesSetRequest request)

Called when the roles for the app are set by Android Device Policy.

Parameters
@NonNull AppRolesSetRequest request

The AppRolesSetRequest containing the app roles that were set.

Returns
@NonNull AppRolesSetResponse

The AppRolesSetResponse containing the result of setting the roles.