toggle menu
Airship Android SDK
main
switch theme
search in API
urbanairship-message-center
/
com.urbanairship.messagecenter
/
User
User
open
class
User
The Airship rich push user.
Members
Types
Listener
Link copied to clipboard
interface
Listener
A listener interface for receiving events for user updates.
Functions
add
Listener
Link copied to clipboard
open
fun
addListener
(
listener
:
User.Listener
)
Subscribe a listener for user update events.
get
Id
Link copied to clipboard
open
fun
getId
(
)
:
String
Get the user's ID.
get
Password
Link copied to clipboard
open
fun
getPassword
(
)
:
String
Get the user's token used for basic auth.
is
Created
Link copied to clipboard
open
fun
isCreated
(
)
:
Boolean
Returns whether the user has been created.
is
User
Created
Link copied to clipboard
open
fun
isUserCreated
(
)
:
Boolean
Checks if the user credentials are available.
remove
Listener
Link copied to clipboard
open
fun
removeListener
(
listener
:
User.Listener
)
Unsubscribe a listener for inbox and user update events.