WatchFaceId

public final class WatchFaceId


The system is responsible for the management and generation of these ids and they have no context outside of an instance of an EditorState and should not be stored or saved for later use by the WatchFace provider.

Summary

Public fields

final @NonNull String

The system's id for a watch face being edited.

Public constructors

Public methods

boolean
int

Public fields

id

@NonNull
public final @NonNull String id

The system's id for a watch face being edited. This is passed in from androidx.wear.watchface.EditorRequest.watchFaceId.

Public constructors

WatchFaceId

public final WatchFaceId(@NonNull String id)
Parameters
@NonNull String id

The system's id for a watch face being edited. This is passed in from androidx.wear.watchface.EditorRequest.watchFaceId.

Public methods

equals

@NonNull
public boolean equals(@Nullable Object other)

hashCode

@NonNull
public int hashCode()