PerceivedResolutionResult.Success


public final class PerceivedResolutionResult.Success extends PerceivedResolutionResult


Indicates that the perceived resolution was successfully calculated.

Summary

Public constructors

Success(@NonNull IntSize2d perceivedResolution)

Public methods

boolean
equals(Object other)
final @NonNull IntSize2d

The calculated pixel dimensions (width and height) that the entity is perceived to occupy on the display.

int
@NonNull String

Public constructors

Success

Added in 1.0.0-alpha05
public Success(@NonNull IntSize2d perceivedResolution)

Public methods

equals

public boolean equals(Object other)

getPerceivedResolution

Added in 1.0.0-alpha05
public final @NonNull IntSize2d getPerceivedResolution()

The calculated pixel dimensions (width and height) that the entity is perceived to occupy on the display.

hashCode

public int hashCode()

toString

public @NonNull String toString()