MCPcopy Index your code
hub / github.com/NativeScript/nativescript-imagepicker / Options

Interface Options

src/imagepicker.common.ts:10–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8 * Provide options for the image picker.
9 */
10export interface Options {
11 /**
12 * Set the picker mode. Supported modes: "single" or "multiple" (default).
13 */
14 mode?: string;
15
16 /**
17 * Set the minumum number of selected assets in iOS
18 */
19 minimumNumberOfSelection?: number;
20
21 /**
22 * Set the maximum number of selected assets in iOS
23 */
24 maximumNumberOfSelection?: number;
25
26 /**
27 * Display the number of selected assets in iOS
28 */
29 showsNumberOfSelectedAssets?: boolean;
30
31 /**
32 * Display prompt text when selecting assets in iOS
33 */
34 prompt?: string;
35
36 /**
37 * Set the number of columns in Portrait in iOS
38 */
39 numberOfColumnsInPortrait?: number;
40
41 /**
42 * Set the number of columns in Landscape in iOS
43 */
44 numberOfColumnsInLandscape?: number;
45
46 /**
47 * Set the media type (image/video/any) to pick
48 */
49 mediaType?: ImagePickerMediaType;
50
51 /**
52 * Show internal and removable storage options on Android.
53 * Not supported officially, see https://issuetracker.google.com/issues/72053350 |
54 */
55 showAdvanced?: boolean;
56
57 android?: {
58 /**
59 * Provide a reason for permission request to access external storage on api levels above 23.
60 */
61 read_external_storage?: string;
62 };
63}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected