SudoSubscriber

interface SudoSubscriber

Subscriber for receiving notifications about new, updated or deleted Sudo.

Types

Link copied to clipboard

Sudo change type.

Link copied to clipboard

Connection state of the subscription.

Functions

Link copied to clipboard

Notifies the subscriber that the subscription connection state has changed. The subscriber won't be notified of Sudo changes until the connection status changes to ConnectionState.CONNECTED. The subscriber will stop receiving Sudo change notifications when the connection state changes to ConnectionState.DISCONNECTED.

Link copied to clipboard
abstract fun sudoChanged(changeType: SudoSubscriber.ChangeType, sudo: Sudo)

Notifies the subscriber of a new, updated or deleted Sudo.