Skip to main content

CameraRollModule.ShowOptions

Class

Configuration options for displaying the camera roll media picker.

  • Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.

Platform details

  • Snapchat — Fully supported.

  • SPECS — Fully supported.

  • Camera Kit Web — Fully supported.

  • Camera Kit Mobile — Fully supported.

Index

Constructors

Constructor

new ShowOptions(): ShowOptions

Returns

ShowOptions

Properties

selectionLimit

selectionLimit: number

Maximum number of media items that can be selected (1-20).

Default Value

10

showImages

showImages: boolean

Default Value

true

showVideos

showVideos: boolean

Default Value

true

Methods

getTypeName()

static getTypeName(): TypeName<ShowOptions>

Returns the fully-qualified JavaScript type name for this class (for example, "Component.Camera"). This is a static accessor (no instance required) and returns the same value as the instance getTypeName().

Returns

TypeName<ShowOptions>