UiCustomizationParams


public final class UiCustomizationParams


Defines UI customization options for the photopicker.

Summary

Nested types

A builder for constructing UiCustomizationParams instance.

Constants

static final int

Requests a portrait 9:16 aspect ratio for the photopicker thumbnail sizing within the media grid.

static final int

Request the default square 1:1 ratio for the photopicker thumbnail sizing within the media grid.

static final int

Undefined aspect ratio for the photopicker thumbnail sizing within the media grid.

Public methods

final int

The set AspectRatio for this request, defaulting to ASPECT_RATIO_UNDEFINED.

Constants

ASPECT_RATIO_PORTRAIT_9_16

public static final int ASPECT_RATIO_PORTRAIT_9_16 = 1

Requests a portrait 9:16 aspect ratio for the photopicker thumbnail sizing within the media grid.

ASPECT_RATIO_SQUARE_1_1

public static final int ASPECT_RATIO_SQUARE_1_1 = 0

Request the default square 1:1 ratio for the photopicker thumbnail sizing within the media grid.

ASPECT_RATIO_UNDEFINED

public static final int ASPECT_RATIO_UNDEFINED

Undefined aspect ratio for the photopicker thumbnail sizing within the media grid.

Public methods

getAspectRatio

Added in 1.0.0-alpha03
public final int getAspectRatio()

The set AspectRatio for this request, defaulting to ASPECT_RATIO_UNDEFINED.