Package-level declarations

Contains the API to manage user profiles.

Types

Link copied to clipboard
@IviExperimental(reasons = [])
class User(val id: UserId, val name: Username, val avatar: UserAvatar?) : Parcelable

Represents a user profile, with a unique id, a display name and an optional avatar image. See Username for the rules for a valid name.

Link copied to clipboard
@IviExperimental(reasons = [])
value class UserAvatar(val drawable: BitmapDrawableResolver) : Parcelable

Represents a user profile picture.

Link copied to clipboard
@IviExperimental(reasons = [])
value class UserId(val id: Long) : Parcelable

Represents the unique user id of an user profile.

Link copied to clipboard
@IviExperimental(reasons = [])
value class Username(val name: String) : Parcelable

An user profile name.

Link copied to clipboard
@IviExperimental(reasons = [])
value class UserPin(val pin: String) : Parcelable

Represents a user profile pin.

Link copied to clipboard
@IviExperimental(reasons = [])
interface UserService

Service responsible for managing user profiles.