@capgo/native-audio 8.2.11 → 8.2.13
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/README.md +147 -34
- package/android/build.gradle +1 -1
- package/android/src/main/java/ee/forgr/audio/AudioAsset.java +352 -74
- package/android/src/main/java/ee/forgr/audio/AudioDispatcher.java +24 -3
- package/android/src/main/java/ee/forgr/audio/Constant.java +9 -1
- package/android/src/main/java/ee/forgr/audio/Logger.java +55 -0
- package/android/src/main/java/ee/forgr/audio/NativeAudio.java +336 -57
- package/android/src/main/java/ee/forgr/audio/RemoteAudioAsset.java +307 -98
- package/android/src/main/java/ee/forgr/audio/StreamAudioAsset.java +285 -96
- package/dist/docs.json +307 -41
- package/dist/esm/definitions.d.ts +116 -38
- package/dist/esm/definitions.js.map +1 -1
- package/dist/esm/web.d.ts +52 -41
- package/dist/esm/web.js +386 -41
- package/dist/esm/web.js.map +1 -1
- package/dist/plugin.cjs.js +386 -41
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/plugin.js +386 -41
- package/dist/plugin.js.map +1 -1
- package/ios/Sources/NativeAudioPlugin/AudioAsset+Fade.swift +104 -0
- package/ios/Sources/NativeAudioPlugin/AudioAsset.swift +168 -324
- package/ios/Sources/NativeAudioPlugin/Constant.swift +17 -4
- package/ios/Sources/NativeAudioPlugin/Logger.swift +43 -0
- package/ios/Sources/NativeAudioPlugin/Plugin.swift +176 -87
- package/ios/Sources/NativeAudioPlugin/RemoteAudioAsset+Fade.swift +110 -0
- package/ios/Sources/NativeAudioPlugin/RemoteAudioAsset.swift +117 -273
- package/ios/Tests/NativeAudioPluginTests/PluginTests.swift +47 -72
- package/package.json +1 -1
package/dist/docs.json
CHANGED
|
@@ -149,12 +149,12 @@
|
|
|
149
149
|
},
|
|
150
150
|
{
|
|
151
151
|
"name": "play",
|
|
152
|
-
"signature": "(options:
|
|
152
|
+
"signature": "(options: AssetPlayOptions) => Promise<void>",
|
|
153
153
|
"parameters": [
|
|
154
154
|
{
|
|
155
155
|
"name": "options",
|
|
156
156
|
"docs": "",
|
|
157
|
-
"type": "
|
|
157
|
+
"type": "AssetPlayOptions"
|
|
158
158
|
}
|
|
159
159
|
],
|
|
160
160
|
"returns": "Promise<void>",
|
|
@@ -169,24 +169,26 @@
|
|
|
169
169
|
},
|
|
170
170
|
{
|
|
171
171
|
"name": "link",
|
|
172
|
-
"text": "
|
|
172
|
+
"text": "AssetPlayOptions}"
|
|
173
173
|
},
|
|
174
174
|
{
|
|
175
175
|
"name": "returns"
|
|
176
176
|
}
|
|
177
177
|
],
|
|
178
178
|
"docs": "Play an audio file",
|
|
179
|
-
"complexTypes": [
|
|
179
|
+
"complexTypes": [
|
|
180
|
+
"AssetPlayOptions"
|
|
181
|
+
],
|
|
180
182
|
"slug": "play"
|
|
181
183
|
},
|
|
182
184
|
{
|
|
183
185
|
"name": "pause",
|
|
184
|
-
"signature": "(options:
|
|
186
|
+
"signature": "(options: AssetPauseOptions) => Promise<void>",
|
|
185
187
|
"parameters": [
|
|
186
188
|
{
|
|
187
189
|
"name": "options",
|
|
188
190
|
"docs": "",
|
|
189
|
-
"type": "
|
|
191
|
+
"type": "AssetPauseOptions"
|
|
190
192
|
}
|
|
191
193
|
],
|
|
192
194
|
"returns": "Promise<void>",
|
|
@@ -201,7 +203,7 @@
|
|
|
201
203
|
},
|
|
202
204
|
{
|
|
203
205
|
"name": "link",
|
|
204
|
-
"text": "
|
|
206
|
+
"text": "AssetPauseOptions}"
|
|
205
207
|
},
|
|
206
208
|
{
|
|
207
209
|
"name": "returns"
|
|
@@ -209,18 +211,18 @@
|
|
|
209
211
|
],
|
|
210
212
|
"docs": "Pause an audio file",
|
|
211
213
|
"complexTypes": [
|
|
212
|
-
"
|
|
214
|
+
"AssetPauseOptions"
|
|
213
215
|
],
|
|
214
216
|
"slug": "pause"
|
|
215
217
|
},
|
|
216
218
|
{
|
|
217
219
|
"name": "resume",
|
|
218
|
-
"signature": "(options:
|
|
220
|
+
"signature": "(options: AssetResumeOptions) => Promise<void>",
|
|
219
221
|
"parameters": [
|
|
220
222
|
{
|
|
221
223
|
"name": "options",
|
|
222
224
|
"docs": "",
|
|
223
|
-
"type": "
|
|
225
|
+
"type": "AssetResumeOptions"
|
|
224
226
|
}
|
|
225
227
|
],
|
|
226
228
|
"returns": "Promise<void>",
|
|
@@ -235,7 +237,7 @@
|
|
|
235
237
|
},
|
|
236
238
|
{
|
|
237
239
|
"name": "link",
|
|
238
|
-
"text": "
|
|
240
|
+
"text": "AssetResumeOptions}"
|
|
239
241
|
},
|
|
240
242
|
{
|
|
241
243
|
"name": "returns"
|
|
@@ -243,7 +245,7 @@
|
|
|
243
245
|
],
|
|
244
246
|
"docs": "Resume an audio file",
|
|
245
247
|
"complexTypes": [
|
|
246
|
-
"
|
|
248
|
+
"AssetResumeOptions"
|
|
247
249
|
],
|
|
248
250
|
"slug": "resume"
|
|
249
251
|
},
|
|
@@ -283,12 +285,12 @@
|
|
|
283
285
|
},
|
|
284
286
|
{
|
|
285
287
|
"name": "stop",
|
|
286
|
-
"signature": "(options:
|
|
288
|
+
"signature": "(options: AssetStopOptions) => Promise<void>",
|
|
287
289
|
"parameters": [
|
|
288
290
|
{
|
|
289
291
|
"name": "options",
|
|
290
292
|
"docs": "",
|
|
291
|
-
"type": "
|
|
293
|
+
"type": "AssetStopOptions"
|
|
292
294
|
}
|
|
293
295
|
],
|
|
294
296
|
"returns": "Promise<void>",
|
|
@@ -303,7 +305,7 @@
|
|
|
303
305
|
},
|
|
304
306
|
{
|
|
305
307
|
"name": "link",
|
|
306
|
-
"text": "
|
|
308
|
+
"text": "AssetStopOptions}"
|
|
307
309
|
},
|
|
308
310
|
{
|
|
309
311
|
"name": "returns"
|
|
@@ -311,7 +313,7 @@
|
|
|
311
313
|
],
|
|
312
314
|
"docs": "Stop an audio file",
|
|
313
315
|
"complexTypes": [
|
|
314
|
-
"
|
|
316
|
+
"AssetStopOptions"
|
|
315
317
|
],
|
|
316
318
|
"slug": "stop"
|
|
317
319
|
},
|
|
@@ -351,12 +353,12 @@
|
|
|
351
353
|
},
|
|
352
354
|
{
|
|
353
355
|
"name": "setVolume",
|
|
354
|
-
"signature": "(options:
|
|
356
|
+
"signature": "(options: AssetVolume) => Promise<void>",
|
|
355
357
|
"parameters": [
|
|
356
358
|
{
|
|
357
359
|
"name": "options",
|
|
358
360
|
"docs": "",
|
|
359
|
-
"type": "
|
|
361
|
+
"type": "AssetVolume"
|
|
360
362
|
}
|
|
361
363
|
],
|
|
362
364
|
"returns": "Promise<void>",
|
|
@@ -378,17 +380,19 @@
|
|
|
378
380
|
}
|
|
379
381
|
],
|
|
380
382
|
"docs": "Set the volume of an audio file",
|
|
381
|
-
"complexTypes": [
|
|
383
|
+
"complexTypes": [
|
|
384
|
+
"AssetVolume"
|
|
385
|
+
],
|
|
382
386
|
"slug": "setvolume"
|
|
383
387
|
},
|
|
384
388
|
{
|
|
385
389
|
"name": "setRate",
|
|
386
|
-
"signature": "(options:
|
|
390
|
+
"signature": "(options: AssetRate) => Promise<void>",
|
|
387
391
|
"parameters": [
|
|
388
392
|
{
|
|
389
393
|
"name": "options",
|
|
390
394
|
"docs": "",
|
|
391
|
-
"type": "
|
|
395
|
+
"type": "AssetRate"
|
|
392
396
|
}
|
|
393
397
|
],
|
|
394
398
|
"returns": "Promise<void>",
|
|
@@ -403,24 +407,26 @@
|
|
|
403
407
|
},
|
|
404
408
|
{
|
|
405
409
|
"name": "link",
|
|
406
|
-
"text": "
|
|
410
|
+
"text": "AssetRate}"
|
|
407
411
|
},
|
|
408
412
|
{
|
|
409
413
|
"name": "returns"
|
|
410
414
|
}
|
|
411
415
|
],
|
|
412
416
|
"docs": "Set the rate of an audio file",
|
|
413
|
-
"complexTypes": [
|
|
417
|
+
"complexTypes": [
|
|
418
|
+
"AssetRate"
|
|
419
|
+
],
|
|
414
420
|
"slug": "setrate"
|
|
415
421
|
},
|
|
416
422
|
{
|
|
417
423
|
"name": "setCurrentTime",
|
|
418
|
-
"signature": "(options:
|
|
424
|
+
"signature": "(options: AssetSetTime) => Promise<void>",
|
|
419
425
|
"parameters": [
|
|
420
426
|
{
|
|
421
427
|
"name": "options",
|
|
422
428
|
"docs": "",
|
|
423
|
-
"type": "
|
|
429
|
+
"type": "AssetSetTime"
|
|
424
430
|
}
|
|
425
431
|
],
|
|
426
432
|
"returns": "Promise<void>",
|
|
@@ -435,24 +441,26 @@
|
|
|
435
441
|
},
|
|
436
442
|
{
|
|
437
443
|
"name": "link",
|
|
438
|
-
"text": "
|
|
444
|
+
"text": "AssetSetTime}"
|
|
439
445
|
},
|
|
440
446
|
{
|
|
441
447
|
"name": "returns"
|
|
442
448
|
}
|
|
443
449
|
],
|
|
444
450
|
"docs": "Set the current time of an audio file",
|
|
445
|
-
"complexTypes": [
|
|
451
|
+
"complexTypes": [
|
|
452
|
+
"AssetSetTime"
|
|
453
|
+
],
|
|
446
454
|
"slug": "setcurrenttime"
|
|
447
455
|
},
|
|
448
456
|
{
|
|
449
457
|
"name": "getCurrentTime",
|
|
450
|
-
"signature": "(options:
|
|
458
|
+
"signature": "(options: Assets) => Promise<{ currentTime: number; }>",
|
|
451
459
|
"parameters": [
|
|
452
460
|
{
|
|
453
461
|
"name": "options",
|
|
454
462
|
"docs": "",
|
|
455
|
-
"type": "
|
|
463
|
+
"type": "Assets"
|
|
456
464
|
}
|
|
457
465
|
],
|
|
458
466
|
"returns": "Promise<{ currentTime: number; }>",
|
|
@@ -467,14 +475,16 @@
|
|
|
467
475
|
},
|
|
468
476
|
{
|
|
469
477
|
"name": "link",
|
|
470
|
-
"text": "
|
|
478
|
+
"text": "Assets}"
|
|
471
479
|
},
|
|
472
480
|
{
|
|
473
481
|
"name": "returns"
|
|
474
482
|
}
|
|
475
483
|
],
|
|
476
484
|
"docs": "Get the current time of an audio file",
|
|
477
|
-
"complexTypes": [
|
|
485
|
+
"complexTypes": [
|
|
486
|
+
"Assets"
|
|
487
|
+
],
|
|
478
488
|
"slug": "getcurrenttime"
|
|
479
489
|
},
|
|
480
490
|
{
|
|
@@ -499,13 +509,13 @@
|
|
|
499
509
|
},
|
|
500
510
|
{
|
|
501
511
|
"name": "link",
|
|
502
|
-
"text": "
|
|
512
|
+
"text": "Assets}"
|
|
503
513
|
},
|
|
504
514
|
{
|
|
505
515
|
"name": "returns"
|
|
506
516
|
}
|
|
507
517
|
],
|
|
508
|
-
"docs": "Get the duration of an audio file",
|
|
518
|
+
"docs": "Get the duration of an audio file in seconds",
|
|
509
519
|
"complexTypes": [
|
|
510
520
|
"Assets"
|
|
511
521
|
],
|
|
@@ -533,7 +543,7 @@
|
|
|
533
543
|
},
|
|
534
544
|
{
|
|
535
545
|
"name": "link",
|
|
536
|
-
"text": "
|
|
546
|
+
"text": "Assets}"
|
|
537
547
|
},
|
|
538
548
|
{
|
|
539
549
|
"name": "returns"
|
|
@@ -621,6 +631,31 @@
|
|
|
621
631
|
"complexTypes": [],
|
|
622
632
|
"slug": "clearcache"
|
|
623
633
|
},
|
|
634
|
+
{
|
|
635
|
+
"name": "setDebugMode",
|
|
636
|
+
"signature": "(options: { enabled: boolean; }) => Promise<void>",
|
|
637
|
+
"parameters": [
|
|
638
|
+
{
|
|
639
|
+
"name": "options",
|
|
640
|
+
"docs": "- Options to enable or disable debug mode",
|
|
641
|
+
"type": "{ enabled: boolean; }"
|
|
642
|
+
}
|
|
643
|
+
],
|
|
644
|
+
"returns": "Promise<void>",
|
|
645
|
+
"tags": [
|
|
646
|
+
{
|
|
647
|
+
"name": "since",
|
|
648
|
+
"text": "6.5.0"
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
"name": "param",
|
|
652
|
+
"text": "options - Options to enable or disable debug mode"
|
|
653
|
+
}
|
|
654
|
+
],
|
|
655
|
+
"docs": "Set debug mode logging",
|
|
656
|
+
"complexTypes": [],
|
|
657
|
+
"slug": "setdebugmode"
|
|
658
|
+
},
|
|
624
659
|
{
|
|
625
660
|
"name": "getPluginVersion",
|
|
626
661
|
"signature": "() => Promise<{ version: string; }>",
|
|
@@ -669,13 +704,6 @@
|
|
|
669
704
|
"tags": [],
|
|
670
705
|
"methods": [],
|
|
671
706
|
"properties": [
|
|
672
|
-
{
|
|
673
|
-
"name": "fade",
|
|
674
|
-
"tags": [],
|
|
675
|
-
"docs": "Play the audio with Fade effect, only available for IOS",
|
|
676
|
-
"complexTypes": [],
|
|
677
|
-
"type": "boolean | undefined"
|
|
678
|
-
},
|
|
679
707
|
{
|
|
680
708
|
"name": "focus",
|
|
681
709
|
"tags": [],
|
|
@@ -956,6 +984,138 @@
|
|
|
956
984
|
}
|
|
957
985
|
]
|
|
958
986
|
},
|
|
987
|
+
{
|
|
988
|
+
"name": "AssetPlayOptions",
|
|
989
|
+
"slug": "assetplayoptions",
|
|
990
|
+
"docs": "",
|
|
991
|
+
"tags": [],
|
|
992
|
+
"methods": [],
|
|
993
|
+
"properties": [
|
|
994
|
+
{
|
|
995
|
+
"name": "assetId",
|
|
996
|
+
"tags": [],
|
|
997
|
+
"docs": "Asset Id, unique identifier of the file",
|
|
998
|
+
"complexTypes": [],
|
|
999
|
+
"type": "string"
|
|
1000
|
+
},
|
|
1001
|
+
{
|
|
1002
|
+
"name": "time",
|
|
1003
|
+
"tags": [],
|
|
1004
|
+
"docs": "Time to start playing the audio, in seconds",
|
|
1005
|
+
"complexTypes": [],
|
|
1006
|
+
"type": "number | undefined"
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
"name": "delay",
|
|
1010
|
+
"tags": [],
|
|
1011
|
+
"docs": "Delay to start playing the audio, in seconds",
|
|
1012
|
+
"complexTypes": [],
|
|
1013
|
+
"type": "number | undefined"
|
|
1014
|
+
},
|
|
1015
|
+
{
|
|
1016
|
+
"name": "volume",
|
|
1017
|
+
"tags": [],
|
|
1018
|
+
"docs": "Volume of the audio, between 0.1 and 1.0",
|
|
1019
|
+
"complexTypes": [],
|
|
1020
|
+
"type": "number | undefined"
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
"name": "fadeIn",
|
|
1024
|
+
"tags": [],
|
|
1025
|
+
"docs": "Whether to fade in the audio",
|
|
1026
|
+
"complexTypes": [],
|
|
1027
|
+
"type": "boolean | undefined"
|
|
1028
|
+
},
|
|
1029
|
+
{
|
|
1030
|
+
"name": "fadeOut",
|
|
1031
|
+
"tags": [],
|
|
1032
|
+
"docs": "Whether to fade out the audio",
|
|
1033
|
+
"complexTypes": [],
|
|
1034
|
+
"type": "boolean | undefined"
|
|
1035
|
+
},
|
|
1036
|
+
{
|
|
1037
|
+
"name": "fadeInDuration",
|
|
1038
|
+
"tags": [],
|
|
1039
|
+
"docs": "Fade in duration in seconds.\nOnly used if fadeIn is true.\nDefault is 1s.",
|
|
1040
|
+
"complexTypes": [],
|
|
1041
|
+
"type": "number | undefined"
|
|
1042
|
+
},
|
|
1043
|
+
{
|
|
1044
|
+
"name": "fadeOutDuration",
|
|
1045
|
+
"tags": [],
|
|
1046
|
+
"docs": "Fade out duration in seconds.\nOnly used if fadeOut is true.\nDefault is 1s.",
|
|
1047
|
+
"complexTypes": [],
|
|
1048
|
+
"type": "number | undefined"
|
|
1049
|
+
},
|
|
1050
|
+
{
|
|
1051
|
+
"name": "fadeOutStartTime",
|
|
1052
|
+
"tags": [],
|
|
1053
|
+
"docs": "Time in seconds from the start of the audio to start fading out.\nOnly used if fadeOut is true.\nDefault is fadeOutDuration before end of audio.",
|
|
1054
|
+
"complexTypes": [],
|
|
1055
|
+
"type": "number | undefined"
|
|
1056
|
+
}
|
|
1057
|
+
]
|
|
1058
|
+
},
|
|
1059
|
+
{
|
|
1060
|
+
"name": "AssetPauseOptions",
|
|
1061
|
+
"slug": "assetpauseoptions",
|
|
1062
|
+
"docs": "",
|
|
1063
|
+
"tags": [],
|
|
1064
|
+
"methods": [],
|
|
1065
|
+
"properties": [
|
|
1066
|
+
{
|
|
1067
|
+
"name": "assetId",
|
|
1068
|
+
"tags": [],
|
|
1069
|
+
"docs": "Asset Id, unique identifier of the file",
|
|
1070
|
+
"complexTypes": [],
|
|
1071
|
+
"type": "string"
|
|
1072
|
+
},
|
|
1073
|
+
{
|
|
1074
|
+
"name": "fadeOut",
|
|
1075
|
+
"tags": [],
|
|
1076
|
+
"docs": "Whether to fade out the audio before pausing",
|
|
1077
|
+
"complexTypes": [],
|
|
1078
|
+
"type": "boolean | undefined"
|
|
1079
|
+
},
|
|
1080
|
+
{
|
|
1081
|
+
"name": "fadeOutDuration",
|
|
1082
|
+
"tags": [],
|
|
1083
|
+
"docs": "Fade out duration in seconds.\nDefault is 1s.",
|
|
1084
|
+
"complexTypes": [],
|
|
1085
|
+
"type": "number | undefined"
|
|
1086
|
+
}
|
|
1087
|
+
]
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
"name": "AssetResumeOptions",
|
|
1091
|
+
"slug": "assetresumeoptions",
|
|
1092
|
+
"docs": "",
|
|
1093
|
+
"tags": [],
|
|
1094
|
+
"methods": [],
|
|
1095
|
+
"properties": [
|
|
1096
|
+
{
|
|
1097
|
+
"name": "assetId",
|
|
1098
|
+
"tags": [],
|
|
1099
|
+
"docs": "Asset Id, unique identifier of the file",
|
|
1100
|
+
"complexTypes": [],
|
|
1101
|
+
"type": "string"
|
|
1102
|
+
},
|
|
1103
|
+
{
|
|
1104
|
+
"name": "fadeIn",
|
|
1105
|
+
"tags": [],
|
|
1106
|
+
"docs": "Whether to fade in the audio during resume",
|
|
1107
|
+
"complexTypes": [],
|
|
1108
|
+
"type": "boolean | undefined"
|
|
1109
|
+
},
|
|
1110
|
+
{
|
|
1111
|
+
"name": "fadeInDuration",
|
|
1112
|
+
"tags": [],
|
|
1113
|
+
"docs": "Fade in duration in seconds.\nDefault is 1s.",
|
|
1114
|
+
"complexTypes": [],
|
|
1115
|
+
"type": "number | undefined"
|
|
1116
|
+
}
|
|
1117
|
+
]
|
|
1118
|
+
},
|
|
959
1119
|
{
|
|
960
1120
|
"name": "Assets",
|
|
961
1121
|
"slug": "assets",
|
|
@@ -972,6 +1132,112 @@
|
|
|
972
1132
|
}
|
|
973
1133
|
]
|
|
974
1134
|
},
|
|
1135
|
+
{
|
|
1136
|
+
"name": "AssetStopOptions",
|
|
1137
|
+
"slug": "assetstopoptions",
|
|
1138
|
+
"docs": "",
|
|
1139
|
+
"tags": [],
|
|
1140
|
+
"methods": [],
|
|
1141
|
+
"properties": [
|
|
1142
|
+
{
|
|
1143
|
+
"name": "assetId",
|
|
1144
|
+
"tags": [],
|
|
1145
|
+
"docs": "Asset Id, unique identifier of the file",
|
|
1146
|
+
"complexTypes": [],
|
|
1147
|
+
"type": "string"
|
|
1148
|
+
},
|
|
1149
|
+
{
|
|
1150
|
+
"name": "fadeOut",
|
|
1151
|
+
"tags": [],
|
|
1152
|
+
"docs": "Whether to fade out the audio before stopping",
|
|
1153
|
+
"complexTypes": [],
|
|
1154
|
+
"type": "boolean | undefined"
|
|
1155
|
+
},
|
|
1156
|
+
{
|
|
1157
|
+
"name": "fadeOutDuration",
|
|
1158
|
+
"tags": [],
|
|
1159
|
+
"docs": "Fade out duration in seconds.\nDefault is 1s.",
|
|
1160
|
+
"complexTypes": [],
|
|
1161
|
+
"type": "number | undefined"
|
|
1162
|
+
}
|
|
1163
|
+
]
|
|
1164
|
+
},
|
|
1165
|
+
{
|
|
1166
|
+
"name": "AssetVolume",
|
|
1167
|
+
"slug": "assetvolume",
|
|
1168
|
+
"docs": "",
|
|
1169
|
+
"tags": [],
|
|
1170
|
+
"methods": [],
|
|
1171
|
+
"properties": [
|
|
1172
|
+
{
|
|
1173
|
+
"name": "assetId",
|
|
1174
|
+
"tags": [],
|
|
1175
|
+
"docs": "Asset Id, unique identifier of the file",
|
|
1176
|
+
"complexTypes": [],
|
|
1177
|
+
"type": "string"
|
|
1178
|
+
},
|
|
1179
|
+
{
|
|
1180
|
+
"name": "volume",
|
|
1181
|
+
"tags": [],
|
|
1182
|
+
"docs": "Volume of the audio, between 0.1 and 1.0",
|
|
1183
|
+
"complexTypes": [],
|
|
1184
|
+
"type": "number"
|
|
1185
|
+
},
|
|
1186
|
+
{
|
|
1187
|
+
"name": "duration",
|
|
1188
|
+
"tags": [],
|
|
1189
|
+
"docs": "Time over which to fade to the target volume, in seconds. Default is 0s (immediate).",
|
|
1190
|
+
"complexTypes": [],
|
|
1191
|
+
"type": "number | undefined"
|
|
1192
|
+
}
|
|
1193
|
+
]
|
|
1194
|
+
},
|
|
1195
|
+
{
|
|
1196
|
+
"name": "AssetRate",
|
|
1197
|
+
"slug": "assetrate",
|
|
1198
|
+
"docs": "",
|
|
1199
|
+
"tags": [],
|
|
1200
|
+
"methods": [],
|
|
1201
|
+
"properties": [
|
|
1202
|
+
{
|
|
1203
|
+
"name": "assetId",
|
|
1204
|
+
"tags": [],
|
|
1205
|
+
"docs": "Asset Id, unique identifier of the file",
|
|
1206
|
+
"complexTypes": [],
|
|
1207
|
+
"type": "string"
|
|
1208
|
+
},
|
|
1209
|
+
{
|
|
1210
|
+
"name": "rate",
|
|
1211
|
+
"tags": [],
|
|
1212
|
+
"docs": "Rate of the audio, between 0.1 and 1.0",
|
|
1213
|
+
"complexTypes": [],
|
|
1214
|
+
"type": "number"
|
|
1215
|
+
}
|
|
1216
|
+
]
|
|
1217
|
+
},
|
|
1218
|
+
{
|
|
1219
|
+
"name": "AssetSetTime",
|
|
1220
|
+
"slug": "assetsettime",
|
|
1221
|
+
"docs": "",
|
|
1222
|
+
"tags": [],
|
|
1223
|
+
"methods": [],
|
|
1224
|
+
"properties": [
|
|
1225
|
+
{
|
|
1226
|
+
"name": "assetId",
|
|
1227
|
+
"tags": [],
|
|
1228
|
+
"docs": "Asset Id, unique identifier of the file",
|
|
1229
|
+
"complexTypes": [],
|
|
1230
|
+
"type": "string"
|
|
1231
|
+
},
|
|
1232
|
+
{
|
|
1233
|
+
"name": "time",
|
|
1234
|
+
"tags": [],
|
|
1235
|
+
"docs": "Time to set the audio, in seconds",
|
|
1236
|
+
"complexTypes": [],
|
|
1237
|
+
"type": "number"
|
|
1238
|
+
}
|
|
1239
|
+
]
|
|
1240
|
+
},
|
|
975
1241
|
{
|
|
976
1242
|
"name": "PluginListenerHandle",
|
|
977
1243
|
"slug": "pluginlistenerhandle",
|