FoldingFeature.OcclusionType


public final class FoldingFeature.OcclusionType


Represents how the hinge might occlude content.

Summary

Public fields

static final @NonNull FoldingFeature.OcclusionType

The FoldingFeature occludes all content.

static final @NonNull FoldingFeature.OcclusionType

The FoldingFeature does not occlude the content in any way.

Public methods

@NonNull String

Public fields

FULL

public static final @NonNull FoldingFeature.OcclusionType FULL

The FoldingFeature occludes all content. One example is a hinge that is considered to be part of the window, so that part of the UI is not visible to the user. Any content shown in the same area as the hinge may not be accessible in any way. Fully occluded areas should always be avoided when placing interactive UI elements and text.

NONE

public static final @NonNull FoldingFeature.OcclusionType NONE

The FoldingFeature does not occlude the content in any way. One example is a flat continuous fold where content can stretch across the fold. Another example is a hinge that has width or height equal to 0. In this case the content is physically split across both displays, but fully visible.

Public methods

toString

public @NonNull String toString()