User

open class User

The Airship rich push user.

Types

Link copied to clipboard
interface Listener
A listener interface for receiving events for user updates.

Functions

Link copied to clipboard
open fun addListener(listener: User.Listener)
Subscribe a listener for user update events.
Link copied to clipboard
open fun getId(): String
Get the user's ID.
Link copied to clipboard
open fun getPassword(): String
Get the user's token used for basic auth.
Link copied to clipboard
open fun isCreated(): Boolean
Returns whether the user has been created.
Link copied to clipboard
Checks if the user credentials are available.
Link copied to clipboard
open fun removeListener(listener: User.Listener)
Unsubscribe a listener for inbox and user update events.