Builder

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Builds a new instance of SubscriptionPreviewClient with the registered preview states.

Link copied to clipboard
fun <T> on(id: SubscriptionId<T>, snapshot: () -> SubscriptionState<T>)

Registers a preview state for the subscription with the specified ID.

fun <T> on(testTag: SubscriptionTestTag<T>, snapshot: () -> SubscriptionState<T>)

Registers a preview state for the subscription with the specified test tag.