@capgo/capacitor-ricoh360 8.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/docs.json ADDED
@@ -0,0 +1,496 @@
1
+ {
2
+ "api": {
3
+ "name": "Ricoh360CameraPlugin",
4
+ "slug": "ricoh360cameraplugin",
5
+ "docs": "",
6
+ "tags": [],
7
+ "methods": [
8
+ {
9
+ "name": "initialize",
10
+ "signature": "(options: InitializeOptions) => Promise<CommandResponse>",
11
+ "parameters": [
12
+ {
13
+ "name": "options",
14
+ "docs": "",
15
+ "type": "InitializeOptions"
16
+ }
17
+ ],
18
+ "returns": "Promise<CommandResponse>",
19
+ "tags": [],
20
+ "docs": "Initializes the SDK with camera URL",
21
+ "complexTypes": [
22
+ "CommandResponse",
23
+ "InitializeOptions"
24
+ ],
25
+ "slug": "initialize"
26
+ },
27
+ {
28
+ "name": "getCameraAsset",
29
+ "signature": "(options: GetCameraAssetOptions) => Promise<GetCameraAssetResponse>",
30
+ "parameters": [
31
+ {
32
+ "name": "options",
33
+ "docs": "Object containing the URL to fetch the asset from",
34
+ "type": "GetCameraAssetOptions"
35
+ }
36
+ ],
37
+ "returns": "Promise<GetCameraAssetResponse>",
38
+ "tags": [
39
+ {
40
+ "name": "param",
41
+ "text": "options Object containing the URL to fetch the asset from"
42
+ },
43
+ {
44
+ "name": "returns",
45
+ "text": "Promise with the status code and base64-encoded data"
46
+ }
47
+ ],
48
+ "docs": "Retrieves a camera asset from a URL and returns it as base64",
49
+ "complexTypes": [
50
+ "GetCameraAssetResponse",
51
+ "GetCameraAssetOptions"
52
+ ],
53
+ "slug": "getcameraasset"
54
+ },
55
+ {
56
+ "name": "listFiles",
57
+ "signature": "(options?: ListFilesOptions | undefined) => Promise<ListFilesResponse>",
58
+ "parameters": [
59
+ {
60
+ "name": "options",
61
+ "docs": "Optional parameters to filter and paginate results",
62
+ "type": "ListFilesOptions | undefined"
63
+ }
64
+ ],
65
+ "returns": "Promise<ListFilesResponse>",
66
+ "tags": [
67
+ {
68
+ "name": "param",
69
+ "text": "options Optional parameters to filter and paginate results"
70
+ },
71
+ {
72
+ "name": "returns",
73
+ "text": "Promise with the list of files and their metadata"
74
+ }
75
+ ],
76
+ "docs": "Lists files stored on the camera",
77
+ "complexTypes": [
78
+ "ListFilesResponse",
79
+ "ListFilesOptions"
80
+ ],
81
+ "slug": "listfiles"
82
+ },
83
+ {
84
+ "name": "capturePicture",
85
+ "signature": "() => Promise<CommandResponse>",
86
+ "parameters": [],
87
+ "returns": "Promise<CommandResponse>",
88
+ "tags": [],
89
+ "docs": "Captures a picture",
90
+ "complexTypes": [
91
+ "CommandResponse"
92
+ ],
93
+ "slug": "capturepicture"
94
+ },
95
+ {
96
+ "name": "captureVideo",
97
+ "signature": "(options: VideoCaptureOptions) => Promise<CommandResponse>",
98
+ "parameters": [
99
+ {
100
+ "name": "options",
101
+ "docs": "",
102
+ "type": "VideoCaptureOptions"
103
+ }
104
+ ],
105
+ "returns": "Promise<CommandResponse>",
106
+ "tags": [],
107
+ "docs": "Captures a video",
108
+ "complexTypes": [
109
+ "CommandResponse",
110
+ "VideoCaptureOptions"
111
+ ],
112
+ "slug": "capturevideo"
113
+ },
114
+ {
115
+ "name": "livePreview",
116
+ "signature": "(options: LivePreviewOptions) => Promise<CommandResponse>",
117
+ "parameters": [
118
+ {
119
+ "name": "options",
120
+ "docs": "",
121
+ "type": "LivePreviewOptions"
122
+ }
123
+ ],
124
+ "returns": "Promise<CommandResponse>",
125
+ "tags": [],
126
+ "docs": "Starts live preview",
127
+ "complexTypes": [
128
+ "CommandResponse",
129
+ "LivePreviewOptions"
130
+ ],
131
+ "slug": "livepreview"
132
+ },
133
+ {
134
+ "name": "stopLivePreview",
135
+ "signature": "() => Promise<CommandResponse>",
136
+ "parameters": [],
137
+ "returns": "Promise<CommandResponse>",
138
+ "tags": [],
139
+ "docs": "Stops live preview",
140
+ "complexTypes": [
141
+ "CommandResponse"
142
+ ],
143
+ "slug": "stoplivepreview"
144
+ },
145
+ {
146
+ "name": "readSettings",
147
+ "signature": "(options: { options: string[]; }) => Promise<CommandResponse>",
148
+ "parameters": [
149
+ {
150
+ "name": "options",
151
+ "docs": "Array of option names to read from camera",
152
+ "type": "{ options: string[]; }"
153
+ }
154
+ ],
155
+ "returns": "Promise<CommandResponse>",
156
+ "tags": [
157
+ {
158
+ "name": "param",
159
+ "text": "options Array of option names to read from camera"
160
+ },
161
+ {
162
+ "name": "see",
163
+ "text": "https ://github.com/ricohapi/theta-api-specs/tree/main/theta-web-api-v2.1/options"
164
+ }
165
+ ],
166
+ "docs": "Reads camera settings",
167
+ "complexTypes": [
168
+ "CommandResponse"
169
+ ],
170
+ "slug": "readsettings"
171
+ },
172
+ {
173
+ "name": "setSettings",
174
+ "signature": "(options: { options: Record<string, any>; }) => Promise<CommandResponse>",
175
+ "parameters": [
176
+ {
177
+ "name": "options",
178
+ "docs": "Object containing camera settings to set",
179
+ "type": "{ options: Record<string, any>; }"
180
+ }
181
+ ],
182
+ "returns": "Promise<CommandResponse>",
183
+ "tags": [
184
+ {
185
+ "name": "param",
186
+ "text": "options Object containing camera settings to set"
187
+ },
188
+ {
189
+ "name": "see",
190
+ "text": "https ://github.com/ricohapi/theta-api-specs/tree/main/theta-web-api-v2.1/options"
191
+ }
192
+ ],
193
+ "docs": "Sets camera settings",
194
+ "complexTypes": [
195
+ "CommandResponse",
196
+ "Record"
197
+ ],
198
+ "slug": "setsettings"
199
+ },
200
+ {
201
+ "name": "sendCommand",
202
+ "signature": "(options: { endpoint: string; payload: Record<string, any>; }) => Promise<CommandResponse>",
203
+ "parameters": [
204
+ {
205
+ "name": "options",
206
+ "docs": "",
207
+ "type": "{ endpoint: string; payload: Record<string, any>; }"
208
+ }
209
+ ],
210
+ "returns": "Promise<CommandResponse>",
211
+ "tags": [
212
+ {
213
+ "name": "param",
214
+ "text": "endpoint API endpoint (e.g. '/osc/commands/execute')"
215
+ },
216
+ {
217
+ "name": "param",
218
+ "text": "payload Raw JSON payload"
219
+ }
220
+ ],
221
+ "docs": "Send raw command to camera",
222
+ "complexTypes": [
223
+ "CommandResponse",
224
+ "Record"
225
+ ],
226
+ "slug": "sendcommand"
227
+ },
228
+ {
229
+ "name": "getPluginVersion",
230
+ "signature": "() => Promise<{ version: string; }>",
231
+ "parameters": [],
232
+ "returns": "Promise<{ version: string; }>",
233
+ "tags": [
234
+ {
235
+ "name": "returns",
236
+ "text": "an Promise with version for this device"
237
+ },
238
+ {
239
+ "name": "throws",
240
+ "text": "An error if the something went wrong"
241
+ }
242
+ ],
243
+ "docs": "Get the native Capacitor plugin version",
244
+ "complexTypes": [],
245
+ "slug": "getpluginversion"
246
+ }
247
+ ],
248
+ "properties": []
249
+ },
250
+ "interfaces": [
251
+ {
252
+ "name": "CommandResponse",
253
+ "slug": "commandresponse",
254
+ "docs": "",
255
+ "tags": [],
256
+ "methods": [],
257
+ "properties": [
258
+ {
259
+ "name": "session",
260
+ "tags": [],
261
+ "docs": "",
262
+ "complexTypes": [],
263
+ "type": "string | undefined"
264
+ },
265
+ {
266
+ "name": "info",
267
+ "tags": [],
268
+ "docs": "",
269
+ "complexTypes": [],
270
+ "type": "string | undefined"
271
+ },
272
+ {
273
+ "name": "preview",
274
+ "tags": [],
275
+ "docs": "",
276
+ "complexTypes": [],
277
+ "type": "string | undefined"
278
+ },
279
+ {
280
+ "name": "picture",
281
+ "tags": [],
282
+ "docs": "",
283
+ "complexTypes": [],
284
+ "type": "string | undefined"
285
+ },
286
+ {
287
+ "name": "settings",
288
+ "tags": [],
289
+ "docs": "",
290
+ "complexTypes": [],
291
+ "type": "string | undefined"
292
+ }
293
+ ]
294
+ },
295
+ {
296
+ "name": "InitializeOptions",
297
+ "slug": "initializeoptions",
298
+ "docs": "",
299
+ "tags": [],
300
+ "methods": [],
301
+ "properties": [
302
+ {
303
+ "name": "url",
304
+ "tags": [],
305
+ "docs": "",
306
+ "complexTypes": [],
307
+ "type": "string"
308
+ }
309
+ ]
310
+ },
311
+ {
312
+ "name": "GetCameraAssetResponse",
313
+ "slug": "getcameraassetresponse",
314
+ "docs": "",
315
+ "tags": [],
316
+ "methods": [],
317
+ "properties": [
318
+ {
319
+ "name": "statusCode",
320
+ "tags": [],
321
+ "docs": "",
322
+ "complexTypes": [],
323
+ "type": "number"
324
+ },
325
+ {
326
+ "name": "data",
327
+ "tags": [],
328
+ "docs": "",
329
+ "complexTypes": [],
330
+ "type": "string"
331
+ },
332
+ {
333
+ "name": "filePath",
334
+ "tags": [],
335
+ "docs": "",
336
+ "complexTypes": [],
337
+ "type": "string | undefined"
338
+ }
339
+ ]
340
+ },
341
+ {
342
+ "name": "GetCameraAssetOptions",
343
+ "slug": "getcameraassetoptions",
344
+ "docs": "",
345
+ "tags": [],
346
+ "methods": [],
347
+ "properties": [
348
+ {
349
+ "name": "url",
350
+ "tags": [],
351
+ "docs": "",
352
+ "complexTypes": [],
353
+ "type": "string"
354
+ },
355
+ {
356
+ "name": "saveToFile",
357
+ "tags": [],
358
+ "docs": "",
359
+ "complexTypes": [],
360
+ "type": "boolean | undefined"
361
+ }
362
+ ]
363
+ },
364
+ {
365
+ "name": "ListFilesResponse",
366
+ "slug": "listfilesresponse",
367
+ "docs": "",
368
+ "tags": [],
369
+ "methods": [],
370
+ "properties": [
371
+ {
372
+ "name": "results",
373
+ "tags": [],
374
+ "docs": "",
375
+ "complexTypes": [],
376
+ "type": "{ entries: { name: string; fileUrl: string; size: number; dateTimeZone: string; width?: number | undefined; height?: number | undefined; previewUrl?: string | undefined; _projectionType?: string | undefined; isProcessed?: boolean | undefined; _thumbSize?: number | undefined; }[]; totalEntries: number; }"
377
+ }
378
+ ]
379
+ },
380
+ {
381
+ "name": "ListFilesOptions",
382
+ "slug": "listfilesoptions",
383
+ "docs": "",
384
+ "tags": [],
385
+ "methods": [],
386
+ "properties": [
387
+ {
388
+ "name": "fileType",
389
+ "tags": [],
390
+ "docs": "",
391
+ "complexTypes": [],
392
+ "type": "'all' | 'image' | 'video' | undefined"
393
+ },
394
+ {
395
+ "name": "startPosition",
396
+ "tags": [],
397
+ "docs": "",
398
+ "complexTypes": [],
399
+ "type": "number | undefined"
400
+ },
401
+ {
402
+ "name": "entryCount",
403
+ "tags": [],
404
+ "docs": "",
405
+ "complexTypes": [],
406
+ "type": "number | undefined"
407
+ },
408
+ {
409
+ "name": "maxThumbSize",
410
+ "tags": [],
411
+ "docs": "",
412
+ "complexTypes": [],
413
+ "type": "number | undefined"
414
+ },
415
+ {
416
+ "name": "_detail",
417
+ "tags": [],
418
+ "docs": "",
419
+ "complexTypes": [],
420
+ "type": "boolean | undefined"
421
+ }
422
+ ]
423
+ },
424
+ {
425
+ "name": "VideoCaptureOptions",
426
+ "slug": "videocaptureoptions",
427
+ "docs": "",
428
+ "tags": [],
429
+ "methods": [],
430
+ "properties": [
431
+ {
432
+ "name": "resolution",
433
+ "tags": [],
434
+ "docs": "",
435
+ "complexTypes": [],
436
+ "type": "'4K' | '2K' | undefined"
437
+ },
438
+ {
439
+ "name": "frameRate",
440
+ "tags": [],
441
+ "docs": "",
442
+ "complexTypes": [],
443
+ "type": "number | undefined"
444
+ },
445
+ {
446
+ "name": "bitrate",
447
+ "tags": [],
448
+ "docs": "",
449
+ "complexTypes": [],
450
+ "type": "number | undefined"
451
+ }
452
+ ]
453
+ },
454
+ {
455
+ "name": "LivePreviewOptions",
456
+ "slug": "livepreviewoptions",
457
+ "docs": "",
458
+ "tags": [],
459
+ "methods": [],
460
+ "properties": [
461
+ {
462
+ "name": "displayInFront",
463
+ "tags": [],
464
+ "docs": "",
465
+ "complexTypes": [],
466
+ "type": "boolean | undefined"
467
+ },
468
+ {
469
+ "name": "cropPreview",
470
+ "tags": [],
471
+ "docs": "",
472
+ "complexTypes": [],
473
+ "type": "boolean | undefined"
474
+ }
475
+ ]
476
+ }
477
+ ],
478
+ "enums": [],
479
+ "typeAliases": [
480
+ {
481
+ "name": "Record",
482
+ "slug": "record",
483
+ "docs": "Construct a type with a set of properties K of type T",
484
+ "types": [
485
+ {
486
+ "text": "{\r\n [P in K]: T;\r\n}",
487
+ "complexTypes": [
488
+ "K",
489
+ "T"
490
+ ]
491
+ }
492
+ ]
493
+ }
494
+ ],
495
+ "pluginConfigs": []
496
+ }
@@ -0,0 +1,146 @@
1
+ export interface InitializeOptions {
2
+ url: string;
3
+ }
4
+ export interface GetCameraAssetOptions {
5
+ url: string;
6
+ saveToFile?: boolean;
7
+ }
8
+ export interface GetCameraAssetResponse {
9
+ statusCode: number;
10
+ data: string;
11
+ filePath?: string;
12
+ }
13
+ export interface ListFilesOptions {
14
+ fileType?: 'all' | 'image' | 'video';
15
+ startPosition?: number;
16
+ entryCount?: number;
17
+ maxThumbSize?: number;
18
+ _detail?: boolean;
19
+ }
20
+ export interface ListFilesResponse {
21
+ results: {
22
+ entries: {
23
+ name: string;
24
+ fileUrl: string;
25
+ size: number;
26
+ dateTimeZone: string;
27
+ width?: number;
28
+ height?: number;
29
+ previewUrl?: string;
30
+ _projectionType?: string;
31
+ isProcessed?: boolean;
32
+ _thumbSize?: number;
33
+ }[];
34
+ totalEntries: number;
35
+ };
36
+ }
37
+ export interface PictureCaptureOptions {
38
+ fileFormat?: 'jpeg' | 'raw';
39
+ exposureProgram?: number;
40
+ iso?: number;
41
+ shutterSpeed?: number;
42
+ }
43
+ export interface VideoCaptureOptions {
44
+ resolution?: '4K' | '2K';
45
+ frameRate?: number;
46
+ bitrate?: number;
47
+ }
48
+ export interface LivePreviewOptions {
49
+ displayInFront?: boolean;
50
+ cropPreview?: boolean;
51
+ }
52
+ export interface CameraInfo {
53
+ manufacturer: string;
54
+ model: string;
55
+ serialNumber: string;
56
+ firmwareVersion: string;
57
+ supportUrl: string;
58
+ gps: boolean;
59
+ gyro: boolean;
60
+ uptime: number;
61
+ api: string[];
62
+ endpoints: {
63
+ httpPort: number;
64
+ httpUpdatesPort: number;
65
+ };
66
+ apiLevel: number[];
67
+ }
68
+ export interface CameraSettings {
69
+ iso?: number;
70
+ shutterSpeed?: number;
71
+ }
72
+ export interface CommandResponse {
73
+ session?: string;
74
+ info?: string;
75
+ preview?: string;
76
+ picture?: string;
77
+ settings?: string;
78
+ }
79
+ export interface Ricoh360CameraPlugin {
80
+ /**
81
+ * Initializes the SDK with camera URL
82
+ */
83
+ initialize(options: InitializeOptions): Promise<CommandResponse>;
84
+ /**
85
+ * Retrieves a camera asset from a URL and returns it as base64
86
+ * @param options Object containing the URL to fetch the asset from
87
+ * @returns Promise with the status code and base64-encoded data
88
+ */
89
+ getCameraAsset(options: GetCameraAssetOptions): Promise<GetCameraAssetResponse>;
90
+ /**
91
+ * Lists files stored on the camera
92
+ * @param options Optional parameters to filter and paginate results
93
+ * @returns Promise with the list of files and their metadata
94
+ */
95
+ listFiles(options?: ListFilesOptions): Promise<ListFilesResponse>;
96
+ /**
97
+ * Captures a picture
98
+ */
99
+ capturePicture(): Promise<CommandResponse>;
100
+ /**
101
+ * Captures a video
102
+ */
103
+ captureVideo(options: VideoCaptureOptions): Promise<CommandResponse>;
104
+ /**
105
+ * Starts live preview
106
+ */
107
+ livePreview(options: LivePreviewOptions): Promise<CommandResponse>;
108
+ /**
109
+ * Stops live preview
110
+ */
111
+ stopLivePreview(): Promise<CommandResponse>;
112
+ /**
113
+ * Reads camera settings
114
+ * @param options Array of option names to read from camera
115
+ * @see https://github.com/ricohapi/theta-api-specs/tree/main/theta-web-api-v2.1/options
116
+ */
117
+ readSettings(options: {
118
+ options: string[];
119
+ }): Promise<CommandResponse>;
120
+ /**
121
+ * Sets camera settings
122
+ * @param options Object containing camera settings to set
123
+ * @see https://github.com/ricohapi/theta-api-specs/tree/main/theta-web-api-v2.1/options
124
+ */
125
+ setSettings(options: {
126
+ options: Record<string, any>;
127
+ }): Promise<CommandResponse>;
128
+ /**
129
+ * Send raw command to camera
130
+ * @param endpoint API endpoint (e.g. '/osc/commands/execute')
131
+ * @param payload Raw JSON payload
132
+ */
133
+ sendCommand(options: {
134
+ endpoint: string;
135
+ payload: Record<string, any>;
136
+ }): Promise<CommandResponse>;
137
+ /**
138
+ * Get the native Capacitor plugin version
139
+ *
140
+ * @returns {Promise<{ id: string }>} an Promise with version for this device
141
+ * @throws An error if the something went wrong
142
+ */
143
+ getPluginVersion(): Promise<{
144
+ version: string;
145
+ }>;
146
+ }
@@ -0,0 +1,5 @@
1
+ export {};
2
+ // interface LivePreviewResult {
3
+ // frame: string; // Base64 encoded JPEG frame
4
+ // }
5
+ //# sourceMappingURL=definitions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../src/definitions.ts"],"names":[],"mappings":";AAiKA,gCAAgC;AAChC,gDAAgD;AAChD,IAAI","sourcesContent":["export interface InitializeOptions {\n url: string;\n}\n\nexport interface GetCameraAssetOptions {\n url: string;\n saveToFile?: boolean;\n}\n\nexport interface GetCameraAssetResponse {\n statusCode: number;\n data: string; // base64 encoded data\n filePath?: string;\n}\n\nexport interface ListFilesOptions {\n fileType?: 'all' | 'image' | 'video';\n startPosition?: number;\n entryCount?: number;\n maxThumbSize?: number;\n _detail?: boolean;\n}\n\nexport interface ListFilesResponse {\n results: {\n entries: {\n name: string;\n fileUrl: string;\n size: number;\n dateTimeZone: string;\n width?: number;\n height?: number;\n previewUrl?: string;\n _projectionType?: string;\n isProcessed?: boolean;\n _thumbSize?: number;\n }[];\n totalEntries: number;\n };\n}\n\nexport interface PictureCaptureOptions {\n // Define any specific options needed for capturing a picture\n fileFormat?: 'jpeg' | 'raw';\n exposureProgram?: number;\n iso?: number;\n shutterSpeed?: number;\n}\n\nexport interface VideoCaptureOptions {\n // Define any specific options needed for capturing a video\n resolution?: '4K' | '2K';\n frameRate?: number;\n bitrate?: number;\n}\n\nexport interface LivePreviewOptions {\n displayInFront?: boolean;\n cropPreview?: boolean;\n}\n\nexport interface CameraInfo {\n manufacturer: string;\n model: string;\n serialNumber: string;\n firmwareVersion: string;\n supportUrl: string;\n gps: boolean;\n gyro: boolean;\n uptime: number;\n api: string[];\n endpoints: {\n httpPort: number;\n httpUpdatesPort: number;\n };\n apiLevel: number[];\n}\n\nexport interface CameraSettings {\n iso?: number;\n shutterSpeed?: number;\n}\n\nexport interface CommandResponse {\n session?: string;\n info?: string;\n preview?: string;\n picture?: string;\n settings?: string;\n}\n\nexport interface Ricoh360CameraPlugin {\n /**\n * Initializes the SDK with camera URL\n */\n initialize(options: InitializeOptions): Promise<CommandResponse>;\n\n /**\n * Retrieves a camera asset from a URL and returns it as base64\n * @param options Object containing the URL to fetch the asset from\n * @returns Promise with the status code and base64-encoded data\n */\n getCameraAsset(options: GetCameraAssetOptions): Promise<GetCameraAssetResponse>;\n\n /**\n * Lists files stored on the camera\n * @param options Optional parameters to filter and paginate results\n * @returns Promise with the list of files and their metadata\n */\n listFiles(options?: ListFilesOptions): Promise<ListFilesResponse>;\n\n /**\n * Captures a picture\n */\n capturePicture(): Promise<CommandResponse>;\n\n /**\n * Captures a video\n */\n captureVideo(options: VideoCaptureOptions): Promise<CommandResponse>;\n\n /**\n * Starts live preview\n */\n livePreview(options: LivePreviewOptions): Promise<CommandResponse>;\n\n /**\n * Stops live preview\n */\n stopLivePreview(): Promise<CommandResponse>;\n\n /**\n * Reads camera settings\n * @param options Array of option names to read from camera\n * @see https://github.com/ricohapi/theta-api-specs/tree/main/theta-web-api-v2.1/options\n */\n readSettings(options: { options: string[] }): Promise<CommandResponse>;\n\n /**\n * Sets camera settings\n * @param options Object containing camera settings to set\n * @see https://github.com/ricohapi/theta-api-specs/tree/main/theta-web-api-v2.1/options\n */\n setSettings(options: { options: Record<string, any> }): Promise<CommandResponse>;\n\n /**\n * Send raw command to camera\n * @param endpoint API endpoint (e.g. '/osc/commands/execute')\n * @param payload Raw JSON payload\n */\n sendCommand(options: { endpoint: string; payload: Record<string, any> }): Promise<CommandResponse>;\n\n /**\n * Get the native Capacitor plugin version\n *\n * @returns {Promise<{ id: string }>} an Promise with version for this device\n * @throws An error if the something went wrong\n */\n getPluginVersion(): Promise<{ version: string }>;\n}\n\n// interface LivePreviewResult {\n// frame: string; // Base64 encoded JPEG frame\n// }\n"]}
@@ -0,0 +1,4 @@
1
+ import type { Ricoh360CameraPlugin } from './definitions';
2
+ declare const Ricoh360Camera: Ricoh360CameraPlugin;
3
+ export * from './definitions';
4
+ export { Ricoh360Camera };
@@ -0,0 +1,7 @@
1
+ import { registerPlugin } from '@capacitor/core';
2
+ const Ricoh360Camera = registerPlugin('Ricoh360Camera', {
3
+ web: () => import('./web').then((m) => new m.Ricoh360CameraWeb()),
4
+ });
5
+ export * from './definitions';
6
+ export { Ricoh360Camera };
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAIjD,MAAM,cAAc,GAAG,cAAc,CAAuB,gBAAgB,EAAE;IAC5E,GAAG,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC,iBAAiB,EAAE,CAAC;CAClE,CAAC,CAAC;AAEH,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,cAAc,EAAE,CAAC","sourcesContent":["import { registerPlugin } from '@capacitor/core';\n\nimport type { Ricoh360CameraPlugin } from './definitions';\n\nconst Ricoh360Camera = registerPlugin<Ricoh360CameraPlugin>('Ricoh360Camera', {\n web: () => import('./web').then((m) => new m.Ricoh360CameraWeb()),\n});\n\nexport * from './definitions';\nexport { Ricoh360Camera };\n"]}
@@ -0,0 +1,17 @@
1
+ import { WebPlugin } from '@capacitor/core';
2
+ import type { Ricoh360CameraPlugin, CommandResponse, GetCameraAssetOptions, GetCameraAssetResponse, ListFilesOptions, ListFilesResponse } from './definitions';
3
+ export declare class Ricoh360CameraWeb extends WebPlugin implements Ricoh360CameraPlugin {
4
+ initialize(__options: any): Promise<CommandResponse>;
5
+ getCameraAsset(_options: GetCameraAssetOptions): Promise<GetCameraAssetResponse>;
6
+ listFiles(_options: ListFilesOptions): Promise<ListFilesResponse>;
7
+ capturePicture(): Promise<CommandResponse>;
8
+ captureVideo(__options: any): Promise<CommandResponse>;
9
+ livePreview(_options: any): Promise<CommandResponse>;
10
+ stopLivePreview(): Promise<CommandResponse>;
11
+ readSettings(_options: any): Promise<CommandResponse>;
12
+ setSettings(_options: any): Promise<CommandResponse>;
13
+ sendCommand(_options: any): Promise<CommandResponse>;
14
+ getPluginVersion(): Promise<{
15
+ version: string;
16
+ }>;
17
+ }