Package cloud.pace.sdk.appkit.communication

Types

AppCallback
Link copied to clipboard
interface AppCallback

Public callback functions to subscribe to app events.

AppCallbackImpl
Link copied to clipboard
abstract class AppCallbackImpl : AppCallback, CloudSDKKoinComponent
AppEventManager
Link copied to clipboard
interface AppEventManager
AppEventManagerImpl
Link copied to clipboard
class AppEventManagerImpl : AppEventManager
AppModel
Link copied to clipboard
interface AppModel
AppModelImpl
Link copied to clipboard
class AppModelImpl(context: Context) : AppModel
GetAccessTokenResponse
Link copied to clipboard
data class GetAccessTokenResponse @JvmOverloads constructor(accessToken: String, isInitialToken: Boolean)

The response class of an AppCallback.getAccessToken request.

InvalidTokenReason
Link copied to clipboard
enum InvalidTokenReason : Enum<InvalidTokenReason>

Specifies the reason why the access token is invalid. UNAUTHORIZED means that the session has been invalidated and OTHER means that the access token has expired and should be renewed.

LogoutResponse
Link copied to clipboard
enum LogoutResponse : Enum<LogoutResponse>

Specifies the response type of an AppCallback.onLogout request. Use LogoutResponse.SUCCESSFUL to signal a successful logout, LogoutResponse.UNAUTHORIZED if the user was not logged in at all and LogoutResponse.OTHER for all other errors.