UiCustomizationParams


class UiCustomizationParams


Defines UI customization options for the photopicker.

Summary

Nested types

A builder for constructing UiCustomizationParams instance.

Constants

const Int

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

const Int

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

const Int

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

Public properties

Int

The set AspectRatio for this request, defaulting to ASPECT_RATIO_UNDEFINED.

Constants

ASPECT_RATIO_PORTRAIT_9_16

const val ASPECT_RATIO_PORTRAIT_9_16 = 1: Int

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

ASPECT_RATIO_SQUARE_1_1

const val ASPECT_RATIO_SQUARE_1_1 = 0: Int

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

ASPECT_RATIO_UNDEFINED

const val ASPECT_RATIO_UNDEFINED: Int

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

Public properties

aspectRatio

Added in 1.0.0-alpha03
val aspectRatio: Int

The set AspectRatio for this request, defaulting to ASPECT_RATIO_UNDEFINED.