capacitor-plugin-playlist 0.4.0 → 0.4.2
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/android/.gradle/8.0.2/checksums/checksums.lock +0 -0
- package/android/.gradle/8.0.2/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/8.0.2/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/8.0.2/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/android/.gradle/8.0.2/executionHistory/executionHistory.bin +0 -0
- package/android/.gradle/8.0.2/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/8.0.2/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/8.0.2/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/8.0.2/fileHashes/resourceHashesCache.bin +0 -0
- package/android/.gradle/8.2.1/checksums/checksums.lock +0 -0
- package/android/.gradle/8.2.1/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/8.2.1/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/8.2.1/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/android/.gradle/8.2.1/executionHistory/executionHistory.bin +0 -0
- package/android/.gradle/8.2.1/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/8.2.1/fileChanges/last-build.bin +0 -0
- package/android/.gradle/8.2.1/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/8.2.1/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/8.2.1/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/android/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/android/.gradle/config.properties +2 -0
- package/android/.gradle/file-system.probe +0 -0
- package/android/.idea/compiler.xml +6 -0
- package/android/.idea/gradle.xml +8 -3
- package/android/.idea/kotlinc.xml +6 -0
- package/android/.idea/migrations.xml +10 -0
- package/android/.idea/misc.xml +2 -2
- package/android/.project +34 -0
- package/android/bin/.gradle/8.0.2/checksums/checksums.lock +0 -0
- package/android/bin/.gradle/8.0.2/checksums/md5-checksums.bin +0 -0
- package/android/bin/.gradle/8.0.2/checksums/sha1-checksums.bin +0 -0
- package/android/bin/.gradle/8.0.2/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/android/bin/.gradle/8.0.2/dependencies-accessors/gc.properties +0 -0
- package/android/bin/.gradle/8.0.2/executionHistory/executionHistory.bin +0 -0
- package/android/bin/.gradle/8.0.2/executionHistory/executionHistory.lock +0 -0
- package/android/bin/.gradle/8.0.2/fileChanges/last-build.bin +0 -0
- package/android/bin/.gradle/8.0.2/fileHashes/fileHashes.bin +0 -0
- package/android/bin/.gradle/8.0.2/fileHashes/fileHashes.lock +0 -0
- package/android/bin/.gradle/8.0.2/fileHashes/resourceHashesCache.bin +0 -0
- package/android/bin/.gradle/8.0.2/gc.properties +0 -0
- package/android/bin/.gradle/8.2.1/checksums/checksums.lock +0 -0
- package/android/bin/.gradle/8.2.1/checksums/md5-checksums.bin +0 -0
- package/android/bin/.gradle/8.2.1/checksums/sha1-checksums.bin +0 -0
- package/android/bin/.gradle/8.2.1/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/android/bin/.gradle/8.2.1/dependencies-accessors/gc.properties +0 -0
- package/android/bin/.gradle/8.2.1/executionHistory/executionHistory.bin +0 -0
- package/android/bin/.gradle/8.2.1/executionHistory/executionHistory.lock +0 -0
- package/android/bin/.gradle/8.2.1/fileChanges/last-build.bin +0 -0
- package/android/bin/.gradle/8.2.1/fileHashes/fileHashes.bin +0 -0
- package/android/bin/.gradle/8.2.1/fileHashes/fileHashes.lock +0 -0
- package/android/bin/.gradle/8.2.1/gc.properties +0 -0
- package/android/bin/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/bin/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/android/bin/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/android/bin/.gradle/config.properties +2 -0
- package/android/bin/.gradle/file-system.probe +0 -0
- package/android/bin/.gradle/vcs-1/gc.properties +0 -0
- package/android/bin/.idea/compiler.xml +6 -0
- package/android/bin/.idea/gradle.xml +19 -0
- package/android/bin/.idea/kotlinc.xml +6 -0
- package/android/bin/.idea/migrations.xml +10 -0
- package/android/bin/.idea/misc.xml +9 -0
- package/android/bin/.idea/vcs.xml +6 -0
- package/android/bin/.project +34 -0
- package/android/bin/build.gradle +79 -0
- package/android/bin/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/android/bin/gradle/wrapper/gradle-wrapper.properties +6 -0
- package/android/bin/gradle.properties +22 -0
- package/android/bin/gradlew +244 -0
- package/android/bin/gradlew.bat +92 -0
- package/android/bin/local.properties +8 -0
- package/android/bin/proguard-rules.pro +21 -0
- package/android/bin/settings.gradle +2 -0
- package/android/bin/src/androidTest/java/com/getcapacitor/android/ExampleInstrumentedTest.class +0 -0
- package/android/bin/src/main/AndroidManifest.xml +4 -0
- package/android/bin/src/main/java/org/dwbn/plugins/playlist/App.kt +61 -0
- package/android/bin/src/main/java/org/dwbn/plugins/playlist/FakeR.kt +39 -0
- package/android/bin/src/main/java/org/dwbn/plugins/playlist/OnStatusCallback.kt +34 -0
- package/android/bin/src/main/java/org/dwbn/plugins/playlist/OnStatusReportListener.class +0 -0
- package/android/bin/src/main/java/org/dwbn/plugins/playlist/PlaylistItemOptions.class +0 -0
- package/android/bin/src/main/java/org/dwbn/plugins/playlist/PlaylistPlugin.kt +403 -0
- package/android/bin/src/main/java/org/dwbn/plugins/playlist/RmxAudioErrorType.class +0 -0
- package/android/bin/src/main/java/org/dwbn/plugins/playlist/RmxAudioPlayer.class +0 -0
- package/android/bin/src/main/java/org/dwbn/plugins/playlist/RmxAudioStatusMessage.class +0 -0
- package/android/bin/src/main/java/org/dwbn/plugins/playlist/RmxConstants.class +0 -0
- package/android/bin/src/main/java/org/dwbn/plugins/playlist/TrackRemovalItem.class +0 -0
- package/android/bin/src/main/java/org/dwbn/plugins/playlist/data/AudioTrack.kt +94 -0
- package/android/bin/src/main/java/org/dwbn/plugins/playlist/manager/MediaControlsListener.kt +13 -0
- package/android/bin/src/main/java/org/dwbn/plugins/playlist/manager/Options.kt +77 -0
- package/android/bin/src/main/java/org/dwbn/plugins/playlist/manager/PlaylistManager.kt +286 -0
- package/android/bin/src/main/java/org/dwbn/plugins/playlist/notification/PlaylistNotificationProvider.kt +26 -0
- package/android/bin/src/main/java/org/dwbn/plugins/playlist/playlist/AudioApi.kt +101 -0
- package/android/bin/src/main/java/org/dwbn/plugins/playlist/playlist/AudioPlaylistHandler$Builder.class +0 -0
- package/android/bin/src/main/java/org/dwbn/plugins/playlist/playlist/AudioPlaylistHandler.class +0 -0
- package/android/bin/src/main/java/org/dwbn/plugins/playlist/playlist/BaseMediaApi.kt +40 -0
- package/android/bin/src/main/java/org/dwbn/plugins/playlist/service/MediaImageProvider.kt +79 -0
- package/android/bin/src/main/java/org/dwbn/plugins/playlist/service/MediaService.kt +54 -0
- package/android/bin/src/main/res/.gitkeep +0 -0
- package/android/bin/src/main/res/drawable/ic_closed_caption_white_24dp.xml +9 -0
- package/android/bin/src/main/res/drawable/ic_demo_icon_adaptive.xml +15 -0
- package/android/bin/src/main/res/drawable/ic_launcher_background.xml +48 -0
- package/android/bin/src/main/res/drawable/ic_launcher_foreground.xml +22 -0
- package/android/bin/src/main/res/drawable/ic_notification_icon.png +0 -0
- package/android/bin/src/main/res/layout/bridge_layout_main.xml +15 -0
- package/android/bin/src/main/res/values/colors.xml +3 -0
- package/android/bin/src/main/res/values/strings.xml +3 -0
- package/android/bin/src/main/res/values/styles.xml +3 -0
- package/android/bin/src/test/java/com/getcapacitor/ExampleUnitTest.class +0 -0
- package/android/build.gradle +0 -4
- package/android/local.properties +1 -1
- package/android/src/main/java/org/dwbn/plugins/playlist/manager/PlaylistManager.kt +3 -2
- package/dist/docs.json +1350 -92
- package/dist/esm/web.js +1 -6
- package/dist/esm/web.js.map +1 -1
- package/dist/plugin.cjs.js +1 -6
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/plugin.js +1 -6
- package/dist/plugin.js.map +1 -1
- package/package.json +2 -2
- package/android/.gradle/checksums/checksums.lock +0 -0
- package/android/.gradle/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/checksums/sha1-checksums.bin +0 -0
- package/android/.idea/modules/android.iml +0 -18
- package/android/.idea/modules.xml +0 -8
- /package/android/.gradle/{configuration-cache → 8.2.1/dependencies-accessors}/gc.properties +0 -0
package/dist/docs.json
CHANGED
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
{
|
|
13
13
|
"name": "eventName",
|
|
14
14
|
"docs": "",
|
|
15
|
-
"type": "
|
|
15
|
+
"type": "'status'"
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"name": "listenerFunc",
|
|
19
19
|
"docs": "",
|
|
20
|
-
"type": "
|
|
20
|
+
"type": "PlaylistStatusChangeCallback"
|
|
21
21
|
}
|
|
22
22
|
],
|
|
23
23
|
"returns": "PluginListenerHandle",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"PluginListenerHandle",
|
|
28
28
|
"PlaylistStatusChangeCallback"
|
|
29
29
|
],
|
|
30
|
-
"slug": "
|
|
30
|
+
"slug": "addlistenerstatus-"
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
"name": "setOptions",
|
|
@@ -371,6 +371,282 @@
|
|
|
371
371
|
}
|
|
372
372
|
]
|
|
373
373
|
},
|
|
374
|
+
{
|
|
375
|
+
"name": "PlaylistStatusChangeCallbackArg",
|
|
376
|
+
"slug": "playliststatuschangecallbackarg",
|
|
377
|
+
"docs": "",
|
|
378
|
+
"tags": [],
|
|
379
|
+
"methods": [],
|
|
380
|
+
"properties": [
|
|
381
|
+
{
|
|
382
|
+
"name": "action",
|
|
383
|
+
"tags": [],
|
|
384
|
+
"docs": "",
|
|
385
|
+
"complexTypes": [],
|
|
386
|
+
"type": "string"
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"name": "status",
|
|
390
|
+
"tags": [],
|
|
391
|
+
"docs": "",
|
|
392
|
+
"complexTypes": [
|
|
393
|
+
"OnStatusCallbackData"
|
|
394
|
+
],
|
|
395
|
+
"type": "OnStatusCallbackData"
|
|
396
|
+
}
|
|
397
|
+
]
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"name": "OnStatusCallbackData",
|
|
401
|
+
"slug": "onstatuscallbackdata",
|
|
402
|
+
"docs": "Encapsulates the data received by an onStatus callback",
|
|
403
|
+
"tags": [],
|
|
404
|
+
"methods": [],
|
|
405
|
+
"properties": [
|
|
406
|
+
{
|
|
407
|
+
"name": "trackId",
|
|
408
|
+
"tags": [],
|
|
409
|
+
"docs": "The ID of this track. If the track is null or has completed, this value is \"NONE\"\nIf the playlist is completed, this value is \"INVALID\"",
|
|
410
|
+
"complexTypes": [],
|
|
411
|
+
"type": "string"
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"name": "msgType",
|
|
415
|
+
"tags": [],
|
|
416
|
+
"docs": "The type of status update",
|
|
417
|
+
"complexTypes": [
|
|
418
|
+
"RmxAudioStatusMessage"
|
|
419
|
+
],
|
|
420
|
+
"type": "RmxAudioStatusMessage"
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"name": "value",
|
|
424
|
+
"tags": [],
|
|
425
|
+
"docs": "The status payload. For all updates except ERROR, the data package is described by OnStatusCallbackUpdateData.\nFor Errors, the data is shaped as OnStatusErrorCallbackData",
|
|
426
|
+
"complexTypes": [
|
|
427
|
+
"OnStatusCallbackUpdateData",
|
|
428
|
+
"OnStatusTrackChangedData",
|
|
429
|
+
"OnStatusErrorCallbackData"
|
|
430
|
+
],
|
|
431
|
+
"type": "OnStatusCallbackUpdateData | OnStatusTrackChangedData | OnStatusErrorCallbackData"
|
|
432
|
+
}
|
|
433
|
+
]
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"name": "OnStatusCallbackUpdateData",
|
|
437
|
+
"slug": "onstatuscallbackupdatedata",
|
|
438
|
+
"docs": "Contains the current track status as of the moment an onStatus update event is emitted.",
|
|
439
|
+
"tags": [],
|
|
440
|
+
"methods": [],
|
|
441
|
+
"properties": [
|
|
442
|
+
{
|
|
443
|
+
"name": "trackId",
|
|
444
|
+
"tags": [],
|
|
445
|
+
"docs": "The ID of this track corresponding to this event. If the track is null or has completed, this value is \"NONE\".\nThis will happen when skipping to the beginning or end of the playlist.\nIf the playlist is completed, this value is \"INVALID\"",
|
|
446
|
+
"complexTypes": [],
|
|
447
|
+
"type": "string"
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"name": "isStream",
|
|
451
|
+
"tags": [],
|
|
452
|
+
"docs": "Boolean indicating whether this is a streaming track.",
|
|
453
|
+
"complexTypes": [],
|
|
454
|
+
"type": "boolean"
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"name": "currentIndex",
|
|
458
|
+
"tags": [],
|
|
459
|
+
"docs": "The current index of the track in the playlist.",
|
|
460
|
+
"complexTypes": [],
|
|
461
|
+
"type": "number"
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"name": "status",
|
|
465
|
+
"tags": [],
|
|
466
|
+
"docs": "The current status of the track, as a string. This is used\nto summarize the various event states that a track can be in; e.g. \"playing\" is true for any number\nof track statuses. The Javascript interface takes care of this for you; this field is here only for reference.",
|
|
467
|
+
"complexTypes": [],
|
|
468
|
+
"type": "'error' | 'unknown' | 'ready' | 'playing' | 'loading' | 'paused'"
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"name": "currentPosition",
|
|
472
|
+
"tags": [],
|
|
473
|
+
"docs": "Current playback position of the reported track.",
|
|
474
|
+
"complexTypes": [],
|
|
475
|
+
"type": "number"
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
"name": "duration",
|
|
479
|
+
"tags": [],
|
|
480
|
+
"docs": "The known duration of the reported track. For streams or malformed MP3's, this value will be 0.",
|
|
481
|
+
"complexTypes": [],
|
|
482
|
+
"type": "number"
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"name": "playbackPercent",
|
|
486
|
+
"tags": [],
|
|
487
|
+
"docs": "Progress of track playback, as a percent, in the range 0 - 100",
|
|
488
|
+
"complexTypes": [],
|
|
489
|
+
"type": "number"
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"name": "bufferPercent",
|
|
493
|
+
"tags": [],
|
|
494
|
+
"docs": "Buffering progress of the track, as a percent, in the range 0 - 100",
|
|
495
|
+
"complexTypes": [],
|
|
496
|
+
"type": "number"
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"name": "bufferStart",
|
|
500
|
+
"tags": [],
|
|
501
|
+
"docs": "The starting position of the buffering progress. For now, this is always reported as 0.",
|
|
502
|
+
"complexTypes": [],
|
|
503
|
+
"type": "number"
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
"name": "bufferEnd",
|
|
507
|
+
"tags": [],
|
|
508
|
+
"docs": "The maximum position, in seconds, of the track buffer. For now, only the buffer with the maximum\nplayback position is reported, even if there are other segments (due to seeking, for example).\nPractically speaking you don't need to worry about that, as in both implementations the\nminor gaps are automatically filled in by the underlying players.",
|
|
509
|
+
"complexTypes": [],
|
|
510
|
+
"type": "number"
|
|
511
|
+
}
|
|
512
|
+
]
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"name": "OnStatusTrackChangedData",
|
|
516
|
+
"slug": "onstatustrackchangeddata",
|
|
517
|
+
"docs": "Reports information about the playlist state when a track changes.\nIncludes the new track, its index, and the state of the playlist.",
|
|
518
|
+
"tags": [],
|
|
519
|
+
"methods": [],
|
|
520
|
+
"properties": [
|
|
521
|
+
{
|
|
522
|
+
"name": "currentItem",
|
|
523
|
+
"tags": [],
|
|
524
|
+
"docs": "The new track that has been selected. May be null if you are at the end of the playlist,\nor the playlist has been emptied.",
|
|
525
|
+
"complexTypes": [
|
|
526
|
+
"AudioTrack"
|
|
527
|
+
],
|
|
528
|
+
"type": "AudioTrack"
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"name": "currentIndex",
|
|
532
|
+
"tags": [],
|
|
533
|
+
"docs": "The 0-based index of the new track. If the playlist has ended or been cleared, this will be -1.",
|
|
534
|
+
"complexTypes": [],
|
|
535
|
+
"type": "number"
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
"name": "isAtEnd",
|
|
539
|
+
"tags": [],
|
|
540
|
+
"docs": "Indicates whether the playlist is now currently at the last item in the list.",
|
|
541
|
+
"complexTypes": [],
|
|
542
|
+
"type": "boolean"
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"name": "isAtBeginning",
|
|
546
|
+
"tags": [],
|
|
547
|
+
"docs": "Indicates whether the playlist is now at the first item in the list",
|
|
548
|
+
"complexTypes": [],
|
|
549
|
+
"type": "boolean"
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"name": "hasNext",
|
|
553
|
+
"tags": [],
|
|
554
|
+
"docs": "Indicates if there are additional playlist items after the current item.",
|
|
555
|
+
"complexTypes": [],
|
|
556
|
+
"type": "boolean"
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"name": "hasPrevious",
|
|
560
|
+
"tags": [],
|
|
561
|
+
"docs": "Indicates if there are any items before this one in the playlist.",
|
|
562
|
+
"complexTypes": [],
|
|
563
|
+
"type": "boolean"
|
|
564
|
+
}
|
|
565
|
+
]
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"name": "AudioTrack",
|
|
569
|
+
"slug": "audiotrack",
|
|
570
|
+
"docs": "An audio track for playback by the playlist.",
|
|
571
|
+
"tags": [],
|
|
572
|
+
"methods": [],
|
|
573
|
+
"properties": [
|
|
574
|
+
{
|
|
575
|
+
"name": "isStream",
|
|
576
|
+
"tags": [],
|
|
577
|
+
"docs": "This item is a streaming asset. Make sure this is set to true for stream URLs,\notherwise you will get odd behavior when the asset is paused.",
|
|
578
|
+
"complexTypes": [],
|
|
579
|
+
"type": "boolean | undefined"
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"name": "trackId",
|
|
583
|
+
"tags": [],
|
|
584
|
+
"docs": "trackId is optional and if not passed in, an auto-generated UUID will be used.",
|
|
585
|
+
"complexTypes": [],
|
|
586
|
+
"type": "string | undefined"
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
"name": "assetUrl",
|
|
590
|
+
"tags": [],
|
|
591
|
+
"docs": "URL of the asset; can be local, a URL, or a streaming URL.\nIf the asset is a stream, make sure that isStream is set to true,\notherwise the plugin can't properly handle the item's buffer.",
|
|
592
|
+
"complexTypes": [],
|
|
593
|
+
"type": "string"
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
"name": "albumArt",
|
|
597
|
+
"tags": [],
|
|
598
|
+
"docs": "The local or remote URL to an image asset to be shown for this track.\nIf this is null, the plugin's default image is used.",
|
|
599
|
+
"complexTypes": [],
|
|
600
|
+
"type": "string | undefined"
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
"name": "artist",
|
|
604
|
+
"tags": [],
|
|
605
|
+
"docs": "The track's artist",
|
|
606
|
+
"complexTypes": [],
|
|
607
|
+
"type": "string"
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
"name": "album",
|
|
611
|
+
"tags": [],
|
|
612
|
+
"docs": "Album the track belongs to",
|
|
613
|
+
"complexTypes": [],
|
|
614
|
+
"type": "string"
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
"name": "title",
|
|
618
|
+
"tags": [],
|
|
619
|
+
"docs": "Title of the track",
|
|
620
|
+
"complexTypes": [],
|
|
621
|
+
"type": "string"
|
|
622
|
+
}
|
|
623
|
+
]
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
"name": "OnStatusErrorCallbackData",
|
|
627
|
+
"slug": "onstatuserrorcallbackdata",
|
|
628
|
+
"docs": "Represents an error reported by the onStatus callback.",
|
|
629
|
+
"tags": [],
|
|
630
|
+
"methods": [],
|
|
631
|
+
"properties": [
|
|
632
|
+
{
|
|
633
|
+
"name": "code",
|
|
634
|
+
"tags": [],
|
|
635
|
+
"docs": "Error code",
|
|
636
|
+
"complexTypes": [
|
|
637
|
+
"RmxAudioErrorType"
|
|
638
|
+
],
|
|
639
|
+
"type": "RmxAudioErrorType"
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
"name": "message",
|
|
643
|
+
"tags": [],
|
|
644
|
+
"docs": "The error, as a message",
|
|
645
|
+
"complexTypes": [],
|
|
646
|
+
"type": "string"
|
|
647
|
+
}
|
|
648
|
+
]
|
|
649
|
+
},
|
|
374
650
|
{
|
|
375
651
|
"name": "AudioPlayerOptions",
|
|
376
652
|
"slug": "audioplayeroptions",
|
|
@@ -379,129 +655,908 @@
|
|
|
379
655
|
"methods": [],
|
|
380
656
|
"properties": [
|
|
381
657
|
{
|
|
382
|
-
"name": "verbose",
|
|
383
|
-
"tags": [],
|
|
384
|
-
"docs": "Should the plugin's javascript dump the status message stream to the javascript console?",
|
|
385
|
-
"complexTypes": [],
|
|
386
|
-
"type": "boolean | undefined"
|
|
658
|
+
"name": "verbose",
|
|
659
|
+
"tags": [],
|
|
660
|
+
"docs": "Should the plugin's javascript dump the status message stream to the javascript console?",
|
|
661
|
+
"complexTypes": [],
|
|
662
|
+
"type": "boolean | undefined"
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"name": "resetStreamOnPause",
|
|
666
|
+
"tags": [],
|
|
667
|
+
"docs": "If true, when pausing a live stream, play will continue from the LIVE POSITION (e.g. the stream\njumps forward to the current point in time, rather than picking up where it left off when you paused).\nIf false, the stream will continue where you paused. The drawback of doing this is that when the audio\nbuffer fills, it will jump forward to the current point in time, cause a disjoint in playback.\n\nDefault is true.",
|
|
668
|
+
"complexTypes": [],
|
|
669
|
+
"type": "boolean | undefined"
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
"name": "options",
|
|
673
|
+
"tags": [],
|
|
674
|
+
"docs": "Further options for notifications",
|
|
675
|
+
"complexTypes": [
|
|
676
|
+
"NotificationOptions"
|
|
677
|
+
],
|
|
678
|
+
"type": "NotificationOptions"
|
|
679
|
+
}
|
|
680
|
+
]
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
"name": "NotificationOptions",
|
|
684
|
+
"slug": "notificationoptions",
|
|
685
|
+
"docs": "",
|
|
686
|
+
"tags": [],
|
|
687
|
+
"methods": [],
|
|
688
|
+
"properties": [
|
|
689
|
+
{
|
|
690
|
+
"name": "icon",
|
|
691
|
+
"tags": [],
|
|
692
|
+
"docs": "",
|
|
693
|
+
"complexTypes": [],
|
|
694
|
+
"type": "string | undefined"
|
|
695
|
+
}
|
|
696
|
+
]
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
"name": "PlaylistOptions",
|
|
700
|
+
"slug": "playlistoptions",
|
|
701
|
+
"docs": "",
|
|
702
|
+
"tags": [],
|
|
703
|
+
"methods": [],
|
|
704
|
+
"properties": [
|
|
705
|
+
{
|
|
706
|
+
"name": "items",
|
|
707
|
+
"tags": [],
|
|
708
|
+
"docs": "",
|
|
709
|
+
"complexTypes": [
|
|
710
|
+
"Array",
|
|
711
|
+
"AudioTrack"
|
|
712
|
+
],
|
|
713
|
+
"type": "Array<AudioTrack>"
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
"name": "options",
|
|
717
|
+
"tags": [],
|
|
718
|
+
"docs": "",
|
|
719
|
+
"complexTypes": [
|
|
720
|
+
"PlaylistItemOptions"
|
|
721
|
+
],
|
|
722
|
+
"type": "PlaylistItemOptions"
|
|
723
|
+
}
|
|
724
|
+
]
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
"name": "Array",
|
|
728
|
+
"slug": "array",
|
|
729
|
+
"docs": "",
|
|
730
|
+
"tags": [],
|
|
731
|
+
"methods": [
|
|
732
|
+
{
|
|
733
|
+
"name": "toString",
|
|
734
|
+
"signature": "() => string",
|
|
735
|
+
"parameters": [],
|
|
736
|
+
"returns": "string",
|
|
737
|
+
"tags": [],
|
|
738
|
+
"docs": "Returns a string representation of an array.",
|
|
739
|
+
"complexTypes": [],
|
|
740
|
+
"slug": "tostring"
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
"name": "toLocaleString",
|
|
744
|
+
"signature": "() => string",
|
|
745
|
+
"parameters": [],
|
|
746
|
+
"returns": "string",
|
|
747
|
+
"tags": [],
|
|
748
|
+
"docs": "Returns a string representation of an array. The elements are converted to string using their toLocalString methods.",
|
|
749
|
+
"complexTypes": [],
|
|
750
|
+
"slug": "tolocalestring"
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
"name": "pop",
|
|
754
|
+
"signature": "() => T | undefined",
|
|
755
|
+
"parameters": [],
|
|
756
|
+
"returns": "T | undefined",
|
|
757
|
+
"tags": [],
|
|
758
|
+
"docs": "Removes the last element from an array and returns it.\r\nIf the array is empty, undefined is returned and the array is not modified.",
|
|
759
|
+
"complexTypes": [
|
|
760
|
+
"T"
|
|
761
|
+
],
|
|
762
|
+
"slug": "pop"
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
"name": "push",
|
|
766
|
+
"signature": "(...items: T[]) => number",
|
|
767
|
+
"parameters": [
|
|
768
|
+
{
|
|
769
|
+
"name": "items",
|
|
770
|
+
"docs": "New elements to add to the array.",
|
|
771
|
+
"type": "T[]"
|
|
772
|
+
}
|
|
773
|
+
],
|
|
774
|
+
"returns": "number",
|
|
775
|
+
"tags": [
|
|
776
|
+
{
|
|
777
|
+
"name": "param",
|
|
778
|
+
"text": "items New elements to add to the array."
|
|
779
|
+
}
|
|
780
|
+
],
|
|
781
|
+
"docs": "Appends new elements to the end of an array, and returns the new length of the array.",
|
|
782
|
+
"complexTypes": [
|
|
783
|
+
"T"
|
|
784
|
+
],
|
|
785
|
+
"slug": "push"
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
"name": "concat",
|
|
789
|
+
"signature": "(...items: ConcatArray<T>[]) => T[]",
|
|
790
|
+
"parameters": [
|
|
791
|
+
{
|
|
792
|
+
"name": "items",
|
|
793
|
+
"docs": "Additional arrays and/or items to add to the end of the array.",
|
|
794
|
+
"type": "ConcatArray<T>[]"
|
|
795
|
+
}
|
|
796
|
+
],
|
|
797
|
+
"returns": "T[]",
|
|
798
|
+
"tags": [
|
|
799
|
+
{
|
|
800
|
+
"name": "param",
|
|
801
|
+
"text": "items Additional arrays and/or items to add to the end of the array."
|
|
802
|
+
}
|
|
803
|
+
],
|
|
804
|
+
"docs": "Combines two or more arrays.\r\nThis method returns a new array without modifying any existing arrays.",
|
|
805
|
+
"complexTypes": [
|
|
806
|
+
"T",
|
|
807
|
+
"ConcatArray"
|
|
808
|
+
],
|
|
809
|
+
"slug": "concat"
|
|
810
|
+
},
|
|
811
|
+
{
|
|
812
|
+
"name": "concat",
|
|
813
|
+
"signature": "(...items: (T | ConcatArray<T>)[]) => T[]",
|
|
814
|
+
"parameters": [
|
|
815
|
+
{
|
|
816
|
+
"name": "items",
|
|
817
|
+
"docs": "Additional arrays and/or items to add to the end of the array.",
|
|
818
|
+
"type": "(T | ConcatArray<T>)[]"
|
|
819
|
+
}
|
|
820
|
+
],
|
|
821
|
+
"returns": "T[]",
|
|
822
|
+
"tags": [
|
|
823
|
+
{
|
|
824
|
+
"name": "param",
|
|
825
|
+
"text": "items Additional arrays and/or items to add to the end of the array."
|
|
826
|
+
}
|
|
827
|
+
],
|
|
828
|
+
"docs": "Combines two or more arrays.\r\nThis method returns a new array without modifying any existing arrays.",
|
|
829
|
+
"complexTypes": [
|
|
830
|
+
"T",
|
|
831
|
+
"ConcatArray"
|
|
832
|
+
],
|
|
833
|
+
"slug": "concat"
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
"name": "join",
|
|
837
|
+
"signature": "(separator?: string | undefined) => string",
|
|
838
|
+
"parameters": [
|
|
839
|
+
{
|
|
840
|
+
"name": "separator",
|
|
841
|
+
"docs": "A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.",
|
|
842
|
+
"type": "string | undefined"
|
|
843
|
+
}
|
|
844
|
+
],
|
|
845
|
+
"returns": "string",
|
|
846
|
+
"tags": [
|
|
847
|
+
{
|
|
848
|
+
"name": "param",
|
|
849
|
+
"text": "separator A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma."
|
|
850
|
+
}
|
|
851
|
+
],
|
|
852
|
+
"docs": "Adds all the elements of an array into a string, separated by the specified separator string.",
|
|
853
|
+
"complexTypes": [],
|
|
854
|
+
"slug": "join"
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
"name": "reverse",
|
|
858
|
+
"signature": "() => T[]",
|
|
859
|
+
"parameters": [],
|
|
860
|
+
"returns": "T[]",
|
|
861
|
+
"tags": [],
|
|
862
|
+
"docs": "Reverses the elements in an array in place.\r\nThis method mutates the array and returns a reference to the same array.",
|
|
863
|
+
"complexTypes": [
|
|
864
|
+
"T"
|
|
865
|
+
],
|
|
866
|
+
"slug": "reverse"
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
"name": "shift",
|
|
870
|
+
"signature": "() => T | undefined",
|
|
871
|
+
"parameters": [],
|
|
872
|
+
"returns": "T | undefined",
|
|
873
|
+
"tags": [],
|
|
874
|
+
"docs": "Removes the first element from an array and returns it.\r\nIf the array is empty, undefined is returned and the array is not modified.",
|
|
875
|
+
"complexTypes": [
|
|
876
|
+
"T"
|
|
877
|
+
],
|
|
878
|
+
"slug": "shift"
|
|
879
|
+
},
|
|
880
|
+
{
|
|
881
|
+
"name": "slice",
|
|
882
|
+
"signature": "(start?: number | undefined, end?: number | undefined) => T[]",
|
|
883
|
+
"parameters": [
|
|
884
|
+
{
|
|
885
|
+
"name": "start",
|
|
886
|
+
"docs": "The beginning index of the specified portion of the array.\r\nIf start is undefined, then the slice begins at index 0.",
|
|
887
|
+
"type": "number | undefined"
|
|
888
|
+
},
|
|
889
|
+
{
|
|
890
|
+
"name": "end",
|
|
891
|
+
"docs": "The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.\r\nIf end is undefined, then the slice extends to the end of the array.",
|
|
892
|
+
"type": "number | undefined"
|
|
893
|
+
}
|
|
894
|
+
],
|
|
895
|
+
"returns": "T[]",
|
|
896
|
+
"tags": [
|
|
897
|
+
{
|
|
898
|
+
"name": "param",
|
|
899
|
+
"text": "start The beginning index of the specified portion of the array.\r\nIf start is undefined, then the slice begins at index 0."
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
"name": "param",
|
|
903
|
+
"text": "end The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.\r\nIf end is undefined, then the slice extends to the end of the array."
|
|
904
|
+
}
|
|
905
|
+
],
|
|
906
|
+
"docs": "Returns a copy of a section of an array.\r\nFor both start and end, a negative index can be used to indicate an offset from the end of the array.\r\nFor example, -2 refers to the second to last element of the array.",
|
|
907
|
+
"complexTypes": [
|
|
908
|
+
"T"
|
|
909
|
+
],
|
|
910
|
+
"slug": "slice"
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
"name": "sort",
|
|
914
|
+
"signature": "(compareFn?: ((a: T, b: T) => number) | undefined) => this",
|
|
915
|
+
"parameters": [
|
|
916
|
+
{
|
|
917
|
+
"name": "compareFn",
|
|
918
|
+
"docs": "Function used to determine the order of the elements. It is expected to return\r\na negative value if first argument is less than second argument, zero if they're equal and a positive\r\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\r\n```ts\r\n[11,2,22,1].sort((a, b) => a - b)\r\n```",
|
|
919
|
+
"type": "((a: T, b: T) => number) | undefined"
|
|
920
|
+
}
|
|
921
|
+
],
|
|
922
|
+
"returns": "this",
|
|
923
|
+
"tags": [
|
|
924
|
+
{
|
|
925
|
+
"name": "param",
|
|
926
|
+
"text": "compareFn Function used to determine the order of the elements. It is expected to return\r\na negative value if first argument is less than second argument, zero if they're equal and a positive\r\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\r\n```ts\r\n[11,2,22,1].sort((a, b) => a - b)\r\n```"
|
|
927
|
+
}
|
|
928
|
+
],
|
|
929
|
+
"docs": "Sorts an array in place.\r\nThis method mutates the array and returns a reference to the same array.",
|
|
930
|
+
"complexTypes": [
|
|
931
|
+
"T"
|
|
932
|
+
],
|
|
933
|
+
"slug": "sort"
|
|
934
|
+
},
|
|
935
|
+
{
|
|
936
|
+
"name": "splice",
|
|
937
|
+
"signature": "(start: number, deleteCount?: number | undefined) => T[]",
|
|
938
|
+
"parameters": [
|
|
939
|
+
{
|
|
940
|
+
"name": "start",
|
|
941
|
+
"docs": "The zero-based location in the array from which to start removing elements.",
|
|
942
|
+
"type": "number"
|
|
943
|
+
},
|
|
944
|
+
{
|
|
945
|
+
"name": "deleteCount",
|
|
946
|
+
"docs": "The number of elements to remove.",
|
|
947
|
+
"type": "number | undefined"
|
|
948
|
+
}
|
|
949
|
+
],
|
|
950
|
+
"returns": "T[]",
|
|
951
|
+
"tags": [
|
|
952
|
+
{
|
|
953
|
+
"name": "param",
|
|
954
|
+
"text": "start The zero-based location in the array from which to start removing elements."
|
|
955
|
+
},
|
|
956
|
+
{
|
|
957
|
+
"name": "param",
|
|
958
|
+
"text": "deleteCount The number of elements to remove."
|
|
959
|
+
},
|
|
960
|
+
{
|
|
961
|
+
"name": "returns",
|
|
962
|
+
"text": "An array containing the elements that were deleted."
|
|
963
|
+
}
|
|
964
|
+
],
|
|
965
|
+
"docs": "Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.",
|
|
966
|
+
"complexTypes": [
|
|
967
|
+
"T"
|
|
968
|
+
],
|
|
969
|
+
"slug": "splice"
|
|
970
|
+
},
|
|
971
|
+
{
|
|
972
|
+
"name": "splice",
|
|
973
|
+
"signature": "(start: number, deleteCount: number, ...items: T[]) => T[]",
|
|
974
|
+
"parameters": [
|
|
975
|
+
{
|
|
976
|
+
"name": "start",
|
|
977
|
+
"docs": "The zero-based location in the array from which to start removing elements.",
|
|
978
|
+
"type": "number"
|
|
979
|
+
},
|
|
980
|
+
{
|
|
981
|
+
"name": "deleteCount",
|
|
982
|
+
"docs": "The number of elements to remove.",
|
|
983
|
+
"type": "number"
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
"name": "items",
|
|
987
|
+
"docs": "Elements to insert into the array in place of the deleted elements.",
|
|
988
|
+
"type": "T[]"
|
|
989
|
+
}
|
|
990
|
+
],
|
|
991
|
+
"returns": "T[]",
|
|
992
|
+
"tags": [
|
|
993
|
+
{
|
|
994
|
+
"name": "param",
|
|
995
|
+
"text": "start The zero-based location in the array from which to start removing elements."
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
"name": "param",
|
|
999
|
+
"text": "deleteCount The number of elements to remove."
|
|
1000
|
+
},
|
|
1001
|
+
{
|
|
1002
|
+
"name": "param",
|
|
1003
|
+
"text": "items Elements to insert into the array in place of the deleted elements."
|
|
1004
|
+
},
|
|
1005
|
+
{
|
|
1006
|
+
"name": "returns",
|
|
1007
|
+
"text": "An array containing the elements that were deleted."
|
|
1008
|
+
}
|
|
1009
|
+
],
|
|
1010
|
+
"docs": "Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.",
|
|
1011
|
+
"complexTypes": [
|
|
1012
|
+
"T"
|
|
1013
|
+
],
|
|
1014
|
+
"slug": "splice"
|
|
1015
|
+
},
|
|
1016
|
+
{
|
|
1017
|
+
"name": "unshift",
|
|
1018
|
+
"signature": "(...items: T[]) => number",
|
|
1019
|
+
"parameters": [
|
|
1020
|
+
{
|
|
1021
|
+
"name": "items",
|
|
1022
|
+
"docs": "Elements to insert at the start of the array.",
|
|
1023
|
+
"type": "T[]"
|
|
1024
|
+
}
|
|
1025
|
+
],
|
|
1026
|
+
"returns": "number",
|
|
1027
|
+
"tags": [
|
|
1028
|
+
{
|
|
1029
|
+
"name": "param",
|
|
1030
|
+
"text": "items Elements to insert at the start of the array."
|
|
1031
|
+
}
|
|
1032
|
+
],
|
|
1033
|
+
"docs": "Inserts new elements at the start of an array, and returns the new length of the array.",
|
|
1034
|
+
"complexTypes": [
|
|
1035
|
+
"T"
|
|
1036
|
+
],
|
|
1037
|
+
"slug": "unshift"
|
|
1038
|
+
},
|
|
1039
|
+
{
|
|
1040
|
+
"name": "indexOf",
|
|
1041
|
+
"signature": "(searchElement: T, fromIndex?: number | undefined) => number",
|
|
1042
|
+
"parameters": [
|
|
1043
|
+
{
|
|
1044
|
+
"name": "searchElement",
|
|
1045
|
+
"docs": "The value to locate in the array.",
|
|
1046
|
+
"type": "T"
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
"name": "fromIndex",
|
|
1050
|
+
"docs": "The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.",
|
|
1051
|
+
"type": "number | undefined"
|
|
1052
|
+
}
|
|
1053
|
+
],
|
|
1054
|
+
"returns": "number",
|
|
1055
|
+
"tags": [
|
|
1056
|
+
{
|
|
1057
|
+
"name": "param",
|
|
1058
|
+
"text": "searchElement The value to locate in the array."
|
|
1059
|
+
},
|
|
1060
|
+
{
|
|
1061
|
+
"name": "param",
|
|
1062
|
+
"text": "fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0."
|
|
1063
|
+
}
|
|
1064
|
+
],
|
|
1065
|
+
"docs": "Returns the index of the first occurrence of a value in an array, or -1 if it is not present.",
|
|
1066
|
+
"complexTypes": [
|
|
1067
|
+
"T"
|
|
1068
|
+
],
|
|
1069
|
+
"slug": "indexof"
|
|
1070
|
+
},
|
|
1071
|
+
{
|
|
1072
|
+
"name": "lastIndexOf",
|
|
1073
|
+
"signature": "(searchElement: T, fromIndex?: number | undefined) => number",
|
|
1074
|
+
"parameters": [
|
|
1075
|
+
{
|
|
1076
|
+
"name": "searchElement",
|
|
1077
|
+
"docs": "The value to locate in the array.",
|
|
1078
|
+
"type": "T"
|
|
1079
|
+
},
|
|
1080
|
+
{
|
|
1081
|
+
"name": "fromIndex",
|
|
1082
|
+
"docs": "The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.",
|
|
1083
|
+
"type": "number | undefined"
|
|
1084
|
+
}
|
|
1085
|
+
],
|
|
1086
|
+
"returns": "number",
|
|
1087
|
+
"tags": [
|
|
1088
|
+
{
|
|
1089
|
+
"name": "param",
|
|
1090
|
+
"text": "searchElement The value to locate in the array."
|
|
1091
|
+
},
|
|
1092
|
+
{
|
|
1093
|
+
"name": "param",
|
|
1094
|
+
"text": "fromIndex The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array."
|
|
1095
|
+
}
|
|
1096
|
+
],
|
|
1097
|
+
"docs": "Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.",
|
|
1098
|
+
"complexTypes": [
|
|
1099
|
+
"T"
|
|
1100
|
+
],
|
|
1101
|
+
"slug": "lastindexof"
|
|
1102
|
+
},
|
|
1103
|
+
{
|
|
1104
|
+
"name": "every",
|
|
1105
|
+
"signature": "<S extends T>(predicate: (value: T, index: number, array: T[]) => value is S, thisArg?: any) => this is S[]",
|
|
1106
|
+
"parameters": [
|
|
1107
|
+
{
|
|
1108
|
+
"name": "predicate",
|
|
1109
|
+
"docs": "A function that accepts up to three arguments. The every method calls\r\nthe predicate function for each element in the array until the predicate returns a value\r\nwhich is coercible to the Boolean value false, or until the end of the array.",
|
|
1110
|
+
"type": "(value: T, index: number, array: T[]) => value is S"
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
"name": "thisArg",
|
|
1114
|
+
"docs": "An object to which the this keyword can refer in the predicate function.\r\nIf thisArg is omitted, undefined is used as the this value.",
|
|
1115
|
+
"type": "any"
|
|
1116
|
+
}
|
|
1117
|
+
],
|
|
1118
|
+
"returns": "boolean",
|
|
1119
|
+
"tags": [
|
|
1120
|
+
{
|
|
1121
|
+
"name": "param",
|
|
1122
|
+
"text": "predicate A function that accepts up to three arguments. The every method calls\r\nthe predicate function for each element in the array until the predicate returns a value\r\nwhich is coercible to the Boolean value false, or until the end of the array."
|
|
1123
|
+
},
|
|
1124
|
+
{
|
|
1125
|
+
"name": "param",
|
|
1126
|
+
"text": "thisArg An object to which the this keyword can refer in the predicate function.\r\nIf thisArg is omitted, undefined is used as the this value."
|
|
1127
|
+
}
|
|
1128
|
+
],
|
|
1129
|
+
"docs": "Determines whether all the members of an array satisfy the specified test.",
|
|
1130
|
+
"complexTypes": [
|
|
1131
|
+
"T",
|
|
1132
|
+
"S"
|
|
1133
|
+
],
|
|
1134
|
+
"slug": "every"
|
|
1135
|
+
},
|
|
1136
|
+
{
|
|
1137
|
+
"name": "every",
|
|
1138
|
+
"signature": "(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any) => boolean",
|
|
1139
|
+
"parameters": [
|
|
1140
|
+
{
|
|
1141
|
+
"name": "predicate",
|
|
1142
|
+
"docs": "A function that accepts up to three arguments. The every method calls\r\nthe predicate function for each element in the array until the predicate returns a value\r\nwhich is coercible to the Boolean value false, or until the end of the array.",
|
|
1143
|
+
"type": "(value: T, index: number, array: T[]) => unknown"
|
|
1144
|
+
},
|
|
1145
|
+
{
|
|
1146
|
+
"name": "thisArg",
|
|
1147
|
+
"docs": "An object to which the this keyword can refer in the predicate function.\r\nIf thisArg is omitted, undefined is used as the this value.",
|
|
1148
|
+
"type": "any"
|
|
1149
|
+
}
|
|
1150
|
+
],
|
|
1151
|
+
"returns": "boolean",
|
|
1152
|
+
"tags": [
|
|
1153
|
+
{
|
|
1154
|
+
"name": "param",
|
|
1155
|
+
"text": "predicate A function that accepts up to three arguments. The every method calls\r\nthe predicate function for each element in the array until the predicate returns a value\r\nwhich is coercible to the Boolean value false, or until the end of the array."
|
|
1156
|
+
},
|
|
1157
|
+
{
|
|
1158
|
+
"name": "param",
|
|
1159
|
+
"text": "thisArg An object to which the this keyword can refer in the predicate function.\r\nIf thisArg is omitted, undefined is used as the this value."
|
|
1160
|
+
}
|
|
1161
|
+
],
|
|
1162
|
+
"docs": "Determines whether all the members of an array satisfy the specified test.",
|
|
1163
|
+
"complexTypes": [
|
|
1164
|
+
"T"
|
|
1165
|
+
],
|
|
1166
|
+
"slug": "every"
|
|
1167
|
+
},
|
|
1168
|
+
{
|
|
1169
|
+
"name": "some",
|
|
1170
|
+
"signature": "(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any) => boolean",
|
|
1171
|
+
"parameters": [
|
|
1172
|
+
{
|
|
1173
|
+
"name": "predicate",
|
|
1174
|
+
"docs": "A function that accepts up to three arguments. The some method calls\r\nthe predicate function for each element in the array until the predicate returns a value\r\nwhich is coercible to the Boolean value true, or until the end of the array.",
|
|
1175
|
+
"type": "(value: T, index: number, array: T[]) => unknown"
|
|
1176
|
+
},
|
|
1177
|
+
{
|
|
1178
|
+
"name": "thisArg",
|
|
1179
|
+
"docs": "An object to which the this keyword can refer in the predicate function.\r\nIf thisArg is omitted, undefined is used as the this value.",
|
|
1180
|
+
"type": "any"
|
|
1181
|
+
}
|
|
1182
|
+
],
|
|
1183
|
+
"returns": "boolean",
|
|
1184
|
+
"tags": [
|
|
1185
|
+
{
|
|
1186
|
+
"name": "param",
|
|
1187
|
+
"text": "predicate A function that accepts up to three arguments. The some method calls\r\nthe predicate function for each element in the array until the predicate returns a value\r\nwhich is coercible to the Boolean value true, or until the end of the array."
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
"name": "param",
|
|
1191
|
+
"text": "thisArg An object to which the this keyword can refer in the predicate function.\r\nIf thisArg is omitted, undefined is used as the this value."
|
|
1192
|
+
}
|
|
1193
|
+
],
|
|
1194
|
+
"docs": "Determines whether the specified callback function returns true for any element of an array.",
|
|
1195
|
+
"complexTypes": [
|
|
1196
|
+
"T"
|
|
1197
|
+
],
|
|
1198
|
+
"slug": "some"
|
|
387
1199
|
},
|
|
388
1200
|
{
|
|
389
|
-
"name": "
|
|
390
|
-
"
|
|
391
|
-
"
|
|
392
|
-
|
|
393
|
-
|
|
1201
|
+
"name": "forEach",
|
|
1202
|
+
"signature": "(callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any) => void",
|
|
1203
|
+
"parameters": [
|
|
1204
|
+
{
|
|
1205
|
+
"name": "callbackfn",
|
|
1206
|
+
"docs": "A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.",
|
|
1207
|
+
"type": "(value: T, index: number, array: T[]) => void"
|
|
1208
|
+
},
|
|
1209
|
+
{
|
|
1210
|
+
"name": "thisArg",
|
|
1211
|
+
"docs": "An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.",
|
|
1212
|
+
"type": "any"
|
|
1213
|
+
}
|
|
1214
|
+
],
|
|
1215
|
+
"returns": "void",
|
|
1216
|
+
"tags": [
|
|
1217
|
+
{
|
|
1218
|
+
"name": "param",
|
|
1219
|
+
"text": "callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array."
|
|
1220
|
+
},
|
|
1221
|
+
{
|
|
1222
|
+
"name": "param",
|
|
1223
|
+
"text": "thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value."
|
|
1224
|
+
}
|
|
1225
|
+
],
|
|
1226
|
+
"docs": "Performs the specified action for each element in an array.",
|
|
1227
|
+
"complexTypes": [
|
|
1228
|
+
"T"
|
|
1229
|
+
],
|
|
1230
|
+
"slug": "foreach"
|
|
394
1231
|
},
|
|
395
1232
|
{
|
|
396
|
-
"name": "
|
|
397
|
-
"
|
|
398
|
-
"
|
|
1233
|
+
"name": "map",
|
|
1234
|
+
"signature": "<U>(callbackfn: (value: T, index: number, array: T[]) => U, thisArg?: any) => U[]",
|
|
1235
|
+
"parameters": [
|
|
1236
|
+
{
|
|
1237
|
+
"name": "callbackfn",
|
|
1238
|
+
"docs": "A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.",
|
|
1239
|
+
"type": "(value: T, index: number, array: T[]) => U"
|
|
1240
|
+
},
|
|
1241
|
+
{
|
|
1242
|
+
"name": "thisArg",
|
|
1243
|
+
"docs": "An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.",
|
|
1244
|
+
"type": "any"
|
|
1245
|
+
}
|
|
1246
|
+
],
|
|
1247
|
+
"returns": "U[]",
|
|
1248
|
+
"tags": [
|
|
1249
|
+
{
|
|
1250
|
+
"name": "param",
|
|
1251
|
+
"text": "callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array."
|
|
1252
|
+
},
|
|
1253
|
+
{
|
|
1254
|
+
"name": "param",
|
|
1255
|
+
"text": "thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value."
|
|
1256
|
+
}
|
|
1257
|
+
],
|
|
1258
|
+
"docs": "Calls a defined callback function on each element of an array, and returns an array that contains the results.",
|
|
399
1259
|
"complexTypes": [
|
|
400
|
-
"
|
|
1260
|
+
"U",
|
|
1261
|
+
"T"
|
|
401
1262
|
],
|
|
402
|
-
"
|
|
403
|
-
}
|
|
404
|
-
]
|
|
405
|
-
},
|
|
406
|
-
{
|
|
407
|
-
"name": "NotificationOptions",
|
|
408
|
-
"slug": "notificationoptions",
|
|
409
|
-
"docs": "",
|
|
410
|
-
"tags": [],
|
|
411
|
-
"methods": [],
|
|
412
|
-
"properties": [
|
|
1263
|
+
"slug": "map"
|
|
1264
|
+
},
|
|
413
1265
|
{
|
|
414
|
-
"name": "
|
|
415
|
-
"
|
|
416
|
-
"
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
1266
|
+
"name": "filter",
|
|
1267
|
+
"signature": "<S extends T>(predicate: (value: T, index: number, array: T[]) => value is S, thisArg?: any) => S[]",
|
|
1268
|
+
"parameters": [
|
|
1269
|
+
{
|
|
1270
|
+
"name": "predicate",
|
|
1271
|
+
"docs": "A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.",
|
|
1272
|
+
"type": "(value: T, index: number, array: T[]) => value is S"
|
|
1273
|
+
},
|
|
1274
|
+
{
|
|
1275
|
+
"name": "thisArg",
|
|
1276
|
+
"docs": "An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.",
|
|
1277
|
+
"type": "any"
|
|
1278
|
+
}
|
|
1279
|
+
],
|
|
1280
|
+
"returns": "S[]",
|
|
1281
|
+
"tags": [
|
|
1282
|
+
{
|
|
1283
|
+
"name": "param",
|
|
1284
|
+
"text": "predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array."
|
|
1285
|
+
},
|
|
1286
|
+
{
|
|
1287
|
+
"name": "param",
|
|
1288
|
+
"text": "thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value."
|
|
1289
|
+
}
|
|
1290
|
+
],
|
|
1291
|
+
"docs": "Returns the elements of an array that meet the condition specified in a callback function.",
|
|
1292
|
+
"complexTypes": [
|
|
1293
|
+
"S",
|
|
1294
|
+
"T"
|
|
1295
|
+
],
|
|
1296
|
+
"slug": "filter"
|
|
1297
|
+
},
|
|
429
1298
|
{
|
|
430
|
-
"name": "
|
|
431
|
-
"
|
|
432
|
-
"
|
|
1299
|
+
"name": "filter",
|
|
1300
|
+
"signature": "(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any) => T[]",
|
|
1301
|
+
"parameters": [
|
|
1302
|
+
{
|
|
1303
|
+
"name": "predicate",
|
|
1304
|
+
"docs": "A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.",
|
|
1305
|
+
"type": "(value: T, index: number, array: T[]) => unknown"
|
|
1306
|
+
},
|
|
1307
|
+
{
|
|
1308
|
+
"name": "thisArg",
|
|
1309
|
+
"docs": "An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.",
|
|
1310
|
+
"type": "any"
|
|
1311
|
+
}
|
|
1312
|
+
],
|
|
1313
|
+
"returns": "T[]",
|
|
1314
|
+
"tags": [
|
|
1315
|
+
{
|
|
1316
|
+
"name": "param",
|
|
1317
|
+
"text": "predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array."
|
|
1318
|
+
},
|
|
1319
|
+
{
|
|
1320
|
+
"name": "param",
|
|
1321
|
+
"text": "thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value."
|
|
1322
|
+
}
|
|
1323
|
+
],
|
|
1324
|
+
"docs": "Returns the elements of an array that meet the condition specified in a callback function.",
|
|
433
1325
|
"complexTypes": [
|
|
434
|
-
"
|
|
435
|
-
"AudioTrack"
|
|
1326
|
+
"T"
|
|
436
1327
|
],
|
|
437
|
-
"
|
|
1328
|
+
"slug": "filter"
|
|
438
1329
|
},
|
|
439
1330
|
{
|
|
440
|
-
"name": "
|
|
1331
|
+
"name": "reduce",
|
|
1332
|
+
"signature": "(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T) => T",
|
|
1333
|
+
"parameters": [
|
|
1334
|
+
{
|
|
1335
|
+
"name": "callbackfn",
|
|
1336
|
+
"docs": "A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.",
|
|
1337
|
+
"type": "(previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T"
|
|
1338
|
+
}
|
|
1339
|
+
],
|
|
1340
|
+
"returns": "T",
|
|
1341
|
+
"tags": [
|
|
1342
|
+
{
|
|
1343
|
+
"name": "param",
|
|
1344
|
+
"text": "callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array."
|
|
1345
|
+
},
|
|
1346
|
+
{
|
|
1347
|
+
"name": "param",
|
|
1348
|
+
"text": "initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value."
|
|
1349
|
+
}
|
|
1350
|
+
],
|
|
1351
|
+
"docs": "Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.",
|
|
1352
|
+
"complexTypes": [
|
|
1353
|
+
"T"
|
|
1354
|
+
],
|
|
1355
|
+
"slug": "reduce"
|
|
1356
|
+
},
|
|
1357
|
+
{
|
|
1358
|
+
"name": "reduce",
|
|
1359
|
+
"signature": "(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue: T) => T",
|
|
1360
|
+
"parameters": [
|
|
1361
|
+
{
|
|
1362
|
+
"name": "callbackfn",
|
|
1363
|
+
"docs": "",
|
|
1364
|
+
"type": "(previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T"
|
|
1365
|
+
},
|
|
1366
|
+
{
|
|
1367
|
+
"name": "initialValue",
|
|
1368
|
+
"docs": "",
|
|
1369
|
+
"type": "T"
|
|
1370
|
+
}
|
|
1371
|
+
],
|
|
1372
|
+
"returns": "T",
|
|
441
1373
|
"tags": [],
|
|
442
1374
|
"docs": "",
|
|
443
1375
|
"complexTypes": [
|
|
444
|
-
"
|
|
1376
|
+
"T"
|
|
445
1377
|
],
|
|
446
|
-
"
|
|
447
|
-
}
|
|
448
|
-
]
|
|
449
|
-
},
|
|
450
|
-
{
|
|
451
|
-
"name": "AudioTrack",
|
|
452
|
-
"slug": "audiotrack",
|
|
453
|
-
"docs": "An audio track for playback by the playlist.",
|
|
454
|
-
"tags": [],
|
|
455
|
-
"methods": [],
|
|
456
|
-
"properties": [
|
|
1378
|
+
"slug": "reduce"
|
|
1379
|
+
},
|
|
457
1380
|
{
|
|
458
|
-
"name": "
|
|
459
|
-
"
|
|
460
|
-
"
|
|
461
|
-
|
|
462
|
-
|
|
1381
|
+
"name": "reduce",
|
|
1382
|
+
"signature": "<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U) => U",
|
|
1383
|
+
"parameters": [
|
|
1384
|
+
{
|
|
1385
|
+
"name": "callbackfn",
|
|
1386
|
+
"docs": "A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.",
|
|
1387
|
+
"type": "(previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U"
|
|
1388
|
+
},
|
|
1389
|
+
{
|
|
1390
|
+
"name": "initialValue",
|
|
1391
|
+
"docs": "If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.",
|
|
1392
|
+
"type": "U"
|
|
1393
|
+
}
|
|
1394
|
+
],
|
|
1395
|
+
"returns": "U",
|
|
1396
|
+
"tags": [
|
|
1397
|
+
{
|
|
1398
|
+
"name": "param",
|
|
1399
|
+
"text": "callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array."
|
|
1400
|
+
},
|
|
1401
|
+
{
|
|
1402
|
+
"name": "param",
|
|
1403
|
+
"text": "initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value."
|
|
1404
|
+
}
|
|
1405
|
+
],
|
|
1406
|
+
"docs": "Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.",
|
|
1407
|
+
"complexTypes": [
|
|
1408
|
+
"U",
|
|
1409
|
+
"T"
|
|
1410
|
+
],
|
|
1411
|
+
"slug": "reduce"
|
|
463
1412
|
},
|
|
464
1413
|
{
|
|
465
|
-
"name": "
|
|
466
|
-
"
|
|
467
|
-
"
|
|
468
|
-
|
|
469
|
-
|
|
1414
|
+
"name": "reduceRight",
|
|
1415
|
+
"signature": "(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T) => T",
|
|
1416
|
+
"parameters": [
|
|
1417
|
+
{
|
|
1418
|
+
"name": "callbackfn",
|
|
1419
|
+
"docs": "A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.",
|
|
1420
|
+
"type": "(previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T"
|
|
1421
|
+
}
|
|
1422
|
+
],
|
|
1423
|
+
"returns": "T",
|
|
1424
|
+
"tags": [
|
|
1425
|
+
{
|
|
1426
|
+
"name": "param",
|
|
1427
|
+
"text": "callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array."
|
|
1428
|
+
},
|
|
1429
|
+
{
|
|
1430
|
+
"name": "param",
|
|
1431
|
+
"text": "initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value."
|
|
1432
|
+
}
|
|
1433
|
+
],
|
|
1434
|
+
"docs": "Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.",
|
|
1435
|
+
"complexTypes": [
|
|
1436
|
+
"T"
|
|
1437
|
+
],
|
|
1438
|
+
"slug": "reduceright"
|
|
470
1439
|
},
|
|
471
1440
|
{
|
|
472
|
-
"name": "
|
|
1441
|
+
"name": "reduceRight",
|
|
1442
|
+
"signature": "(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue: T) => T",
|
|
1443
|
+
"parameters": [
|
|
1444
|
+
{
|
|
1445
|
+
"name": "callbackfn",
|
|
1446
|
+
"docs": "",
|
|
1447
|
+
"type": "(previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T"
|
|
1448
|
+
},
|
|
1449
|
+
{
|
|
1450
|
+
"name": "initialValue",
|
|
1451
|
+
"docs": "",
|
|
1452
|
+
"type": "T"
|
|
1453
|
+
}
|
|
1454
|
+
],
|
|
1455
|
+
"returns": "T",
|
|
473
1456
|
"tags": [],
|
|
474
|
-
"docs": "
|
|
475
|
-
"complexTypes": [
|
|
476
|
-
|
|
1457
|
+
"docs": "",
|
|
1458
|
+
"complexTypes": [
|
|
1459
|
+
"T"
|
|
1460
|
+
],
|
|
1461
|
+
"slug": "reduceright"
|
|
477
1462
|
},
|
|
478
1463
|
{
|
|
479
|
-
"name": "
|
|
1464
|
+
"name": "reduceRight",
|
|
1465
|
+
"signature": "<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U) => U",
|
|
1466
|
+
"parameters": [
|
|
1467
|
+
{
|
|
1468
|
+
"name": "callbackfn",
|
|
1469
|
+
"docs": "A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.",
|
|
1470
|
+
"type": "(previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U"
|
|
1471
|
+
},
|
|
1472
|
+
{
|
|
1473
|
+
"name": "initialValue",
|
|
1474
|
+
"docs": "If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.",
|
|
1475
|
+
"type": "U"
|
|
1476
|
+
}
|
|
1477
|
+
],
|
|
1478
|
+
"returns": "U",
|
|
1479
|
+
"tags": [
|
|
1480
|
+
{
|
|
1481
|
+
"name": "param",
|
|
1482
|
+
"text": "callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array."
|
|
1483
|
+
},
|
|
1484
|
+
{
|
|
1485
|
+
"name": "param",
|
|
1486
|
+
"text": "initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value."
|
|
1487
|
+
}
|
|
1488
|
+
],
|
|
1489
|
+
"docs": "Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.",
|
|
1490
|
+
"complexTypes": [
|
|
1491
|
+
"U",
|
|
1492
|
+
"T"
|
|
1493
|
+
],
|
|
1494
|
+
"slug": "reduceright"
|
|
1495
|
+
}
|
|
1496
|
+
],
|
|
1497
|
+
"properties": [
|
|
1498
|
+
{
|
|
1499
|
+
"name": "length",
|
|
480
1500
|
"tags": [],
|
|
481
|
-
"docs": "
|
|
1501
|
+
"docs": "Gets or sets the length of the array. This is a number one higher than the highest index in the array.",
|
|
482
1502
|
"complexTypes": [],
|
|
483
|
-
"type": "
|
|
484
|
-
}
|
|
1503
|
+
"type": "number"
|
|
1504
|
+
}
|
|
1505
|
+
]
|
|
1506
|
+
},
|
|
1507
|
+
{
|
|
1508
|
+
"name": "ConcatArray",
|
|
1509
|
+
"slug": "concatarray",
|
|
1510
|
+
"docs": "",
|
|
1511
|
+
"tags": [],
|
|
1512
|
+
"methods": [
|
|
485
1513
|
{
|
|
486
|
-
"name": "
|
|
1514
|
+
"name": "join",
|
|
1515
|
+
"signature": "(separator?: string | undefined) => string",
|
|
1516
|
+
"parameters": [
|
|
1517
|
+
{
|
|
1518
|
+
"name": "separator",
|
|
1519
|
+
"docs": "",
|
|
1520
|
+
"type": "string | undefined"
|
|
1521
|
+
}
|
|
1522
|
+
],
|
|
1523
|
+
"returns": "string",
|
|
487
1524
|
"tags": [],
|
|
488
|
-
"docs": "
|
|
1525
|
+
"docs": "",
|
|
489
1526
|
"complexTypes": [],
|
|
490
|
-
"
|
|
1527
|
+
"slug": "join"
|
|
491
1528
|
},
|
|
492
1529
|
{
|
|
493
|
-
"name": "
|
|
1530
|
+
"name": "slice",
|
|
1531
|
+
"signature": "(start?: number | undefined, end?: number | undefined) => T[]",
|
|
1532
|
+
"parameters": [
|
|
1533
|
+
{
|
|
1534
|
+
"name": "start",
|
|
1535
|
+
"docs": "",
|
|
1536
|
+
"type": "number | undefined"
|
|
1537
|
+
},
|
|
1538
|
+
{
|
|
1539
|
+
"name": "end",
|
|
1540
|
+
"docs": "",
|
|
1541
|
+
"type": "number | undefined"
|
|
1542
|
+
}
|
|
1543
|
+
],
|
|
1544
|
+
"returns": "T[]",
|
|
494
1545
|
"tags": [],
|
|
495
|
-
"docs": "
|
|
496
|
-
"complexTypes": [
|
|
497
|
-
|
|
498
|
-
|
|
1546
|
+
"docs": "",
|
|
1547
|
+
"complexTypes": [
|
|
1548
|
+
"T"
|
|
1549
|
+
],
|
|
1550
|
+
"slug": "slice"
|
|
1551
|
+
}
|
|
1552
|
+
],
|
|
1553
|
+
"properties": [
|
|
499
1554
|
{
|
|
500
|
-
"name": "
|
|
1555
|
+
"name": "length",
|
|
501
1556
|
"tags": [],
|
|
502
|
-
"docs": "
|
|
1557
|
+
"docs": "",
|
|
503
1558
|
"complexTypes": [],
|
|
504
|
-
"type": "
|
|
1559
|
+
"type": "number"
|
|
505
1560
|
}
|
|
506
1561
|
]
|
|
507
1562
|
},
|
|
@@ -778,5 +1833,208 @@
|
|
|
778
1833
|
]
|
|
779
1834
|
}
|
|
780
1835
|
],
|
|
781
|
-
"enums": [
|
|
1836
|
+
"enums": [
|
|
1837
|
+
{
|
|
1838
|
+
"name": "RmxAudioStatusMessage",
|
|
1839
|
+
"slug": "rmxaudiostatusmessage",
|
|
1840
|
+
"members": [
|
|
1841
|
+
{
|
|
1842
|
+
"name": "RMXSTATUS_NONE",
|
|
1843
|
+
"value": "0",
|
|
1844
|
+
"tags": [],
|
|
1845
|
+
"docs": "The starting state of the plugin. You will never see this value;\nit changes before the callbacks are even registered to report changes to this value."
|
|
1846
|
+
},
|
|
1847
|
+
{
|
|
1848
|
+
"name": "RMXSTATUS_REGISTER",
|
|
1849
|
+
"value": "1",
|
|
1850
|
+
"tags": [],
|
|
1851
|
+
"docs": "Raised when the plugin registers the callback handler for onStatus callbacks.\nYou will probably not be able to see this (nor do you need to)."
|
|
1852
|
+
},
|
|
1853
|
+
{
|
|
1854
|
+
"name": "RMXSTATUS_INIT",
|
|
1855
|
+
"value": "2",
|
|
1856
|
+
"tags": [],
|
|
1857
|
+
"docs": "Reserved for future use"
|
|
1858
|
+
},
|
|
1859
|
+
{
|
|
1860
|
+
"name": "RMXSTATUS_ERROR",
|
|
1861
|
+
"value": "5",
|
|
1862
|
+
"tags": [],
|
|
1863
|
+
"docs": "Indicates an error is reported in the 'value' field."
|
|
1864
|
+
},
|
|
1865
|
+
{
|
|
1866
|
+
"name": "RMXSTATUS_LOADING",
|
|
1867
|
+
"value": "10",
|
|
1868
|
+
"tags": [],
|
|
1869
|
+
"docs": "The reported track is being loaded by the player"
|
|
1870
|
+
},
|
|
1871
|
+
{
|
|
1872
|
+
"name": "RMXSTATUS_CANPLAY",
|
|
1873
|
+
"value": "11",
|
|
1874
|
+
"tags": [],
|
|
1875
|
+
"docs": "The reported track is able to begin playback"
|
|
1876
|
+
},
|
|
1877
|
+
{
|
|
1878
|
+
"name": "RMXSTATUS_LOADED",
|
|
1879
|
+
"value": "15",
|
|
1880
|
+
"tags": [],
|
|
1881
|
+
"docs": "The reported track has loaded 100% of the file (either from disc or network)"
|
|
1882
|
+
},
|
|
1883
|
+
{
|
|
1884
|
+
"name": "RMXSTATUS_STALLED",
|
|
1885
|
+
"value": "20",
|
|
1886
|
+
"tags": [],
|
|
1887
|
+
"docs": "(iOS only): Playback has stalled due to insufficient network"
|
|
1888
|
+
},
|
|
1889
|
+
{
|
|
1890
|
+
"name": "RMXSTATUS_BUFFERING",
|
|
1891
|
+
"value": "25",
|
|
1892
|
+
"tags": [],
|
|
1893
|
+
"docs": "Reports an update in the reported track's buffering status"
|
|
1894
|
+
},
|
|
1895
|
+
{
|
|
1896
|
+
"name": "RMXSTATUS_PLAYING",
|
|
1897
|
+
"value": "30",
|
|
1898
|
+
"tags": [],
|
|
1899
|
+
"docs": "The reported track has started (or resumed) playing"
|
|
1900
|
+
},
|
|
1901
|
+
{
|
|
1902
|
+
"name": "RMXSTATUS_PAUSE",
|
|
1903
|
+
"value": "35",
|
|
1904
|
+
"tags": [],
|
|
1905
|
+
"docs": "The reported track has been paused, either by the user or by the system.\n(iOS only): This value is raised when MP3's are malformed (but still playable).\nThese require the user to explicitly press play again. This can be worked\naround and is on the TODO list."
|
|
1906
|
+
},
|
|
1907
|
+
{
|
|
1908
|
+
"name": "RMXSTATUS_PLAYBACK_POSITION",
|
|
1909
|
+
"value": "40",
|
|
1910
|
+
"tags": [],
|
|
1911
|
+
"docs": "Reports a change in the reported track's playback position."
|
|
1912
|
+
},
|
|
1913
|
+
{
|
|
1914
|
+
"name": "RMXSTATUS_SEEK",
|
|
1915
|
+
"value": "45",
|
|
1916
|
+
"tags": [],
|
|
1917
|
+
"docs": "The reported track has seeked.\nOn Android, only the plugin consumer can generate this (Notification controls on Android do not include a seek bar).\nOn iOS, the Command Center includes a seek bar so this will be reported when the user has seeked via Command Center."
|
|
1918
|
+
},
|
|
1919
|
+
{
|
|
1920
|
+
"name": "RMXSTATUS_COMPLETED",
|
|
1921
|
+
"value": "50",
|
|
1922
|
+
"tags": [],
|
|
1923
|
+
"docs": "The reported track has completed playback."
|
|
1924
|
+
},
|
|
1925
|
+
{
|
|
1926
|
+
"name": "RMXSTATUS_DURATION",
|
|
1927
|
+
"value": "55",
|
|
1928
|
+
"tags": [],
|
|
1929
|
+
"docs": "The reported track's duration has changed. This is raised once, when duration is updated for the first time.\nFor streams, this value is never reported."
|
|
1930
|
+
},
|
|
1931
|
+
{
|
|
1932
|
+
"name": "RMXSTATUS_STOPPED",
|
|
1933
|
+
"value": "60",
|
|
1934
|
+
"tags": [],
|
|
1935
|
+
"docs": "All playback has stopped, probably because the plugin is shutting down."
|
|
1936
|
+
},
|
|
1937
|
+
{
|
|
1938
|
+
"name": "RMX_STATUS_SKIP_FORWARD",
|
|
1939
|
+
"value": "90",
|
|
1940
|
+
"tags": [],
|
|
1941
|
+
"docs": "The playlist has skipped forward to the next track.\nOn both Android and iOS, this will be raised if the notification controls/Command Center were used to skip.\nIt is unlikely you need to consume this event: RMXSTATUS_TRACK_CHANGED is also reported when this occurs,\nso you can generalize your track change handling in one place."
|
|
1942
|
+
},
|
|
1943
|
+
{
|
|
1944
|
+
"name": "RMX_STATUS_SKIP_BACK",
|
|
1945
|
+
"value": "95",
|
|
1946
|
+
"tags": [],
|
|
1947
|
+
"docs": "The playlist has skipped back to the previous track.\nOn both Android and iOS, this will be raised if the notification controls/Command Center were used to skip.\nIt is unlikely you need to consume this event: RMXSTATUS_TRACK_CHANGED is also reported when this occurs,\nso you can generalize your track change handling in one place."
|
|
1948
|
+
},
|
|
1949
|
+
{
|
|
1950
|
+
"name": "RMXSTATUS_TRACK_CHANGED",
|
|
1951
|
+
"value": "100",
|
|
1952
|
+
"tags": [],
|
|
1953
|
+
"docs": "Reported when the current track has changed in the native player. This event contains full data about\nthe new track, including the index and the actual track itself. The type of the 'value' field in this case\nis OnStatusTrackChangedData."
|
|
1954
|
+
},
|
|
1955
|
+
{
|
|
1956
|
+
"name": "RMXSTATUS_PLAYLIST_COMPLETED",
|
|
1957
|
+
"value": "105",
|
|
1958
|
+
"tags": [],
|
|
1959
|
+
"docs": "The entire playlist has completed playback.\nAfter this event has been raised, the current item is set to null and the current index to -1."
|
|
1960
|
+
},
|
|
1961
|
+
{
|
|
1962
|
+
"name": "RMXSTATUS_ITEM_ADDED",
|
|
1963
|
+
"value": "110",
|
|
1964
|
+
"tags": [],
|
|
1965
|
+
"docs": "An item has been added to the playlist. For the setPlaylistItems and addAllItems methods, this status is\nraised once for every track in the collection."
|
|
1966
|
+
},
|
|
1967
|
+
{
|
|
1968
|
+
"name": "RMXSTATUS_ITEM_REMOVED",
|
|
1969
|
+
"value": "115",
|
|
1970
|
+
"tags": [],
|
|
1971
|
+
"docs": "An item has been removed from the playlist. For the removeItems and clearAllItems methods, this status is\nraised once for every track that was removed."
|
|
1972
|
+
},
|
|
1973
|
+
{
|
|
1974
|
+
"name": "RMXSTATUS_PLAYLIST_CLEARED",
|
|
1975
|
+
"value": "120",
|
|
1976
|
+
"tags": [],
|
|
1977
|
+
"docs": "All items have been removed from the playlist"
|
|
1978
|
+
},
|
|
1979
|
+
{
|
|
1980
|
+
"name": "RMXSTATUS_VIEWDISAPPEAR",
|
|
1981
|
+
"value": "200",
|
|
1982
|
+
"tags": [],
|
|
1983
|
+
"docs": "Just for testing.. you don't need this and in fact can never receive it, the plugin is destroyed before it can be raised."
|
|
1984
|
+
}
|
|
1985
|
+
]
|
|
1986
|
+
},
|
|
1987
|
+
{
|
|
1988
|
+
"name": "RmxAudioErrorType",
|
|
1989
|
+
"slug": "rmxaudioerrortype",
|
|
1990
|
+
"members": [
|
|
1991
|
+
{
|
|
1992
|
+
"name": "RMXERR_NONE_ACTIVE",
|
|
1993
|
+
"value": "0",
|
|
1994
|
+
"tags": [],
|
|
1995
|
+
"docs": ""
|
|
1996
|
+
},
|
|
1997
|
+
{
|
|
1998
|
+
"name": "RMXERR_ABORTED",
|
|
1999
|
+
"value": "1",
|
|
2000
|
+
"tags": [],
|
|
2001
|
+
"docs": ""
|
|
2002
|
+
},
|
|
2003
|
+
{
|
|
2004
|
+
"name": "RMXERR_NETWORK",
|
|
2005
|
+
"value": "2",
|
|
2006
|
+
"tags": [],
|
|
2007
|
+
"docs": ""
|
|
2008
|
+
},
|
|
2009
|
+
{
|
|
2010
|
+
"name": "RMXERR_DECODE",
|
|
2011
|
+
"value": "3",
|
|
2012
|
+
"tags": [],
|
|
2013
|
+
"docs": ""
|
|
2014
|
+
},
|
|
2015
|
+
{
|
|
2016
|
+
"name": "RMXERR_NONE_SUPPORTED",
|
|
2017
|
+
"value": "4",
|
|
2018
|
+
"tags": [],
|
|
2019
|
+
"docs": ""
|
|
2020
|
+
}
|
|
2021
|
+
]
|
|
2022
|
+
}
|
|
2023
|
+
],
|
|
2024
|
+
"typeAliases": [
|
|
2025
|
+
{
|
|
2026
|
+
"name": "PlaylistStatusChangeCallback",
|
|
2027
|
+
"slug": "playliststatuschangecallback",
|
|
2028
|
+
"docs": "",
|
|
2029
|
+
"types": [
|
|
2030
|
+
{
|
|
2031
|
+
"text": "(data: PlaylistStatusChangeCallbackArg): void",
|
|
2032
|
+
"complexTypes": [
|
|
2033
|
+
"PlaylistStatusChangeCallbackArg"
|
|
2034
|
+
]
|
|
2035
|
+
}
|
|
2036
|
+
]
|
|
2037
|
+
}
|
|
2038
|
+
],
|
|
2039
|
+
"pluginConfigs": []
|
|
782
2040
|
}
|