ConsentScreenOptions

data class ConsentScreenOptions


Options to customize the consent screen.

Summary

Public constructors

ConsentScreenOptions(
    structureId: String?,
    allowedStructureIds: List<String>?,
    isAllowStructureChange: Boolean
)

Public properties

List<String>?

The IDs of the structures that the user is allowed to grant permissions to.

Boolean

Whether the user is allowed to change the structure that they want to grant permissions to.

String?

The ID of the structure that the user wants to grant permissions to.

Public constructors

ConsentScreenOptions

ConsentScreenOptions(
    structureId: String? = null,
    allowedStructureIds: List<String>? = null,
    isAllowStructureChange: Boolean = false
)

Public properties

allowedStructureIds

val allowedStructureIdsList<String>?

The IDs of the structures that the user is allowed to grant permissions to.

isAllowStructureChange

val isAllowStructureChangeBoolean

Whether the user is allowed to change the structure that they want to grant permissions to.

structureId

val structureIdString?

The ID of the structure that the user wants to grant permissions to.