Role

abstract class Role


The role that the caller is requesting to use.

Summary

Nested types

abstract class Role.Builder

Builder for Role.

abstract class Role.ExtraCapabilities

Extra capabilities for a role, granted by the IT admin in the device policy.

Builder for Role.ExtraCapabilities.

Controls whether the app can perform local device wipe using IssueCommandRequest.Wipe.

The role type.

Public functions

java-static Role.Builder!
java-static Role!
Role.ExtraCapabilities!

Extra capabilities for a role.

abstract Role.RoleType!
Boolean

Returns true if extraCapabilities is set.

abstract Role.Builder!

Public functions

builder

java-static fun builder(): Role.Builder!

getDefaultInstance

java-static fun getDefaultInstance(): Role!

getExtraCapabilities

fun getExtraCapabilities(): Role.ExtraCapabilities!

Extra capabilities for a role. These are set in the roles that the app receives in AppRolesSetRequest, and must not be set in requests made by the app.

getRoleType

abstract fun getRoleType(): Role.RoleType!

hasExtraCapabilities

fun hasExtraCapabilities(): Boolean

Returns true if extraCapabilities is set.

toBuilder

abstract fun toBuilder(): Role.Builder!