PermissionsResult

class PermissionsResult


The result of a request for home permissions.

Summary

Public constructors

PermissionsResult(
    status: PermissionsResultStatus,
    errorMessage: String?,
    serverAuthCode: String?
)

Public properties

String?

the error message if the permissions request resulted in an error.

String?

The authorization code that can be exchanged by the application's server for an access token and refresh token.

PermissionsResultStatus

the result of the permissions request.

Public constructors

PermissionsResult

PermissionsResult(
    status: PermissionsResultStatus,
    errorMessage: String? = null,
    serverAuthCode: String? = null
)

Public properties

errorMessage

val errorMessageString?

the error message if the permissions request resulted in an error.

serverAuthCode

val serverAuthCodeString?

The authorization code that can be exchanged by the application's server for an access token and refresh token. This is only populated if offline access was requested by providing a serverClientId in HomeConfig.

status

val statusPermissionsResultStatus

the result of the permissions request.