Android Studio Sign in

GuavaAnchor

Added in 1.0.0-alpha08

public final class GuavaAnchor


Summary

Public methods

static final @NonNull ListenableFuture<@NonNull UUID>
persistAsync(@NonNull Anchor receiver, @NonNull Session session)

Stores this anchor in the application's local storage so that it can be shared across sessions.

Public methods

public static final @NonNull ListenableFuture<@NonNull UUIDpersistAsync(@NonNull Anchor receiver, @NonNull Session session)

Stores this anchor in the application's local storage so that it can be shared across sessions.

Returns
@NonNull ListenableFuture<@NonNull UUID>

a ListenableFuture that returns a UUID that uniquely identifies this anchor.

Throws
kotlin.IllegalStateException

if Session.config is set to Config.AnchorPersistenceMode.DISABLED, or if there was an unexpected error persisting the anchor (e.g. ran out of memory).

Morty Proxy This is a proxified and sanitized view of the page, visit original site.