PreviewScreenshotParams


public final class PreviewScreenshotParams


Parameters for an optional final screenshot taken by EditorSession upon exit and reported via EditorState.

use Watch Face Format instead

Summary

Public constructors

PreviewScreenshotParams(
    @NonNull RenderParameters renderParameters,
    @NonNull Instant instant
)

This method is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.

Public methods

boolean
equals(Object other)

This method is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.

final @NonNull Instant

This method is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.

final @NonNull RenderParameters

This method is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.

int

This method is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.

Public constructors

PreviewScreenshotParams

Added in 1.0.0
Deprecated in 1.3.0-alpha06
public PreviewScreenshotParams(
    @NonNull RenderParameters renderParameters,
    @NonNull Instant instant
)
Parameters
@NonNull RenderParameters renderParameters

The RenderParameters to use when rendering the screen shot

@NonNull Instant instant

The Instant to render with.

Public methods

equals

public boolean equals(Object other)

getInstant

Added in 1.0.0
Deprecated in 1.3.0-alpha06
public final @NonNull Instant getInstant()

The Instant to render with.

getRenderParameters

Added in 1.0.0
Deprecated in 1.3.0-alpha06
public final @NonNull RenderParameters getRenderParameters()

The RenderParameters to use when rendering the screen shot

hashCode

public int hashCode()