Input

interface Input

Defines the current user model that is available to be read from by the processor.

Types

Link copied to clipboard
class Bitmoji(val avatarId: String)

Defines the Bitmoji properties available to process, typically used to display the Bitmoji avatar in lenses.

Link copied to clipboard
class User(val displayName: String? = null, val birthDate: Date? = null, val bitmoji: UserProcessor.Input.Bitmoji? = null)

Defines the current user properties available to process, typically used for presentation purposes.

Functions

Link copied to clipboard

Subscribes to the provided onUserAvailable to be notified when a new User is available for this input. The returned Closeable must be closed when done working with this input otherwise underlying resources will be leaked.