capacitor-plugin-playlist 0.4.1 → 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.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/dependencies-accessors/gc.properties +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/file-system.probe +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 -2
- package/android/bin/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/android/bin/.gradle/file-system.probe +0 -0
- package/android/bin/src/main/java/org/dwbn/plugins/playlist/App.kt +2 -3
- package/android/bin/src/main/java/org/dwbn/plugins/playlist/PlaylistPlugin.kt +49 -2
- package/android/bin/src/main/java/org/dwbn/plugins/playlist/manager/PlaylistManager.kt +1 -1
- package/android/bin/src/main/java/org/dwbn/plugins/playlist/service/MediaService.kt +2 -1
- package/android/src/main/java/org/dwbn/plugins/playlist/manager/PlaylistManager.kt +1 -1
- package/dist/docs.json +537 -633
- package/package.json +2 -2
- package/android/bin/.settings/org.eclipse.buildship.core.prefs +0 -13
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",
|
|
@@ -399,7 +675,7 @@
|
|
|
399
675
|
"complexTypes": [
|
|
400
676
|
"NotificationOptions"
|
|
401
677
|
],
|
|
402
|
-
"type": "NotificationOptions
|
|
678
|
+
"type": "NotificationOptions"
|
|
403
679
|
}
|
|
404
680
|
]
|
|
405
681
|
},
|
|
@@ -434,7 +710,7 @@
|
|
|
434
710
|
"Array",
|
|
435
711
|
"AudioTrack"
|
|
436
712
|
],
|
|
437
|
-
"type": "AudioTrack
|
|
713
|
+
"type": "Array<AudioTrack>"
|
|
438
714
|
},
|
|
439
715
|
{
|
|
440
716
|
"name": "options",
|
|
@@ -469,7 +745,7 @@
|
|
|
469
745
|
"parameters": [],
|
|
470
746
|
"returns": "string",
|
|
471
747
|
"tags": [],
|
|
472
|
-
"docs": "Returns a string representation of an array. The elements are converted to string using their
|
|
748
|
+
"docs": "Returns a string representation of an array. The elements are converted to string using their toLocalString methods.",
|
|
473
749
|
"complexTypes": [],
|
|
474
750
|
"slug": "tolocalestring"
|
|
475
751
|
},
|
|
@@ -499,20 +775,7 @@
|
|
|
499
775
|
"tags": [
|
|
500
776
|
{
|
|
501
777
|
"name": "param",
|
|
502
|
-
"text":
|
|
503
|
-
{
|
|
504
|
-
"text": "items",
|
|
505
|
-
"kind": "parameterName"
|
|
506
|
-
},
|
|
507
|
-
{
|
|
508
|
-
"text": " ",
|
|
509
|
-
"kind": "space"
|
|
510
|
-
},
|
|
511
|
-
{
|
|
512
|
-
"text": "New elements to add to the array.",
|
|
513
|
-
"kind": "text"
|
|
514
|
-
}
|
|
515
|
-
]
|
|
778
|
+
"text": "items New elements to add to the array."
|
|
516
779
|
}
|
|
517
780
|
],
|
|
518
781
|
"docs": "Appends new elements to the end of an array, and returns the new length of the array.",
|
|
@@ -535,20 +798,7 @@
|
|
|
535
798
|
"tags": [
|
|
536
799
|
{
|
|
537
800
|
"name": "param",
|
|
538
|
-
"text":
|
|
539
|
-
{
|
|
540
|
-
"text": "items",
|
|
541
|
-
"kind": "parameterName"
|
|
542
|
-
},
|
|
543
|
-
{
|
|
544
|
-
"text": " ",
|
|
545
|
-
"kind": "space"
|
|
546
|
-
},
|
|
547
|
-
{
|
|
548
|
-
"text": "Additional arrays and/or items to add to the end of the array.",
|
|
549
|
-
"kind": "text"
|
|
550
|
-
}
|
|
551
|
-
]
|
|
801
|
+
"text": "items Additional arrays and/or items to add to the end of the array."
|
|
552
802
|
}
|
|
553
803
|
],
|
|
554
804
|
"docs": "Combines two or more arrays.\r\nThis method returns a new array without modifying any existing arrays.",
|
|
@@ -572,20 +822,7 @@
|
|
|
572
822
|
"tags": [
|
|
573
823
|
{
|
|
574
824
|
"name": "param",
|
|
575
|
-
"text":
|
|
576
|
-
{
|
|
577
|
-
"text": "items",
|
|
578
|
-
"kind": "parameterName"
|
|
579
|
-
},
|
|
580
|
-
{
|
|
581
|
-
"text": " ",
|
|
582
|
-
"kind": "space"
|
|
583
|
-
},
|
|
584
|
-
{
|
|
585
|
-
"text": "Additional arrays and/or items to add to the end of the array.",
|
|
586
|
-
"kind": "text"
|
|
587
|
-
}
|
|
588
|
-
]
|
|
825
|
+
"text": "items Additional arrays and/or items to add to the end of the array."
|
|
589
826
|
}
|
|
590
827
|
],
|
|
591
828
|
"docs": "Combines two or more arrays.\r\nThis method returns a new array without modifying any existing arrays.",
|
|
@@ -597,7 +834,7 @@
|
|
|
597
834
|
},
|
|
598
835
|
{
|
|
599
836
|
"name": "join",
|
|
600
|
-
"signature": "(separator?: string) => string",
|
|
837
|
+
"signature": "(separator?: string | undefined) => string",
|
|
601
838
|
"parameters": [
|
|
602
839
|
{
|
|
603
840
|
"name": "separator",
|
|
@@ -609,20 +846,7 @@
|
|
|
609
846
|
"tags": [
|
|
610
847
|
{
|
|
611
848
|
"name": "param",
|
|
612
|
-
"text":
|
|
613
|
-
{
|
|
614
|
-
"text": "separator",
|
|
615
|
-
"kind": "parameterName"
|
|
616
|
-
},
|
|
617
|
-
{
|
|
618
|
-
"text": " ",
|
|
619
|
-
"kind": "space"
|
|
620
|
-
},
|
|
621
|
-
{
|
|
622
|
-
"text": "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.",
|
|
623
|
-
"kind": "text"
|
|
624
|
-
}
|
|
625
|
-
]
|
|
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."
|
|
626
850
|
}
|
|
627
851
|
],
|
|
628
852
|
"docs": "Adds all the elements of an array into a string, separated by the specified separator string.",
|
|
@@ -655,7 +879,7 @@
|
|
|
655
879
|
},
|
|
656
880
|
{
|
|
657
881
|
"name": "slice",
|
|
658
|
-
"signature": "(start?: number, end?: number) => T[]",
|
|
882
|
+
"signature": "(start?: number | undefined, end?: number | undefined) => T[]",
|
|
659
883
|
"parameters": [
|
|
660
884
|
{
|
|
661
885
|
"name": "start",
|
|
@@ -672,37 +896,11 @@
|
|
|
672
896
|
"tags": [
|
|
673
897
|
{
|
|
674
898
|
"name": "param",
|
|
675
|
-
"text":
|
|
676
|
-
{
|
|
677
|
-
"text": "start",
|
|
678
|
-
"kind": "parameterName"
|
|
679
|
-
},
|
|
680
|
-
{
|
|
681
|
-
"text": " ",
|
|
682
|
-
"kind": "space"
|
|
683
|
-
},
|
|
684
|
-
{
|
|
685
|
-
"text": "The beginning index of the specified portion of the array.\r\nIf start is undefined, then the slice begins at index 0.",
|
|
686
|
-
"kind": "text"
|
|
687
|
-
}
|
|
688
|
-
]
|
|
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."
|
|
689
900
|
},
|
|
690
901
|
{
|
|
691
902
|
"name": "param",
|
|
692
|
-
"text":
|
|
693
|
-
{
|
|
694
|
-
"text": "end",
|
|
695
|
-
"kind": "parameterName"
|
|
696
|
-
},
|
|
697
|
-
{
|
|
698
|
-
"text": " ",
|
|
699
|
-
"kind": "space"
|
|
700
|
-
},
|
|
701
|
-
{
|
|
702
|
-
"text": "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.",
|
|
703
|
-
"kind": "text"
|
|
704
|
-
}
|
|
705
|
-
]
|
|
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."
|
|
706
904
|
}
|
|
707
905
|
],
|
|
708
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.",
|
|
@@ -717,7 +915,7 @@
|
|
|
717
915
|
"parameters": [
|
|
718
916
|
{
|
|
719
917
|
"name": "compareFn",
|
|
720
|
-
"docs": "Function used to determine the order of the elements. It is expected to return\r\na negative value if
|
|
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```",
|
|
721
919
|
"type": "((a: T, b: T) => number) | undefined"
|
|
722
920
|
}
|
|
723
921
|
],
|
|
@@ -725,20 +923,7 @@
|
|
|
725
923
|
"tags": [
|
|
726
924
|
{
|
|
727
925
|
"name": "param",
|
|
728
|
-
"text": [
|
|
729
|
-
{
|
|
730
|
-
"text": "compareFn",
|
|
731
|
-
"kind": "parameterName"
|
|
732
|
-
},
|
|
733
|
-
{
|
|
734
|
-
"text": " ",
|
|
735
|
-
"kind": "space"
|
|
736
|
-
},
|
|
737
|
-
{
|
|
738
|
-
"text": "Function used to determine the order of the elements. It is expected to return\r\na negative value if the first argument is less than the 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```",
|
|
739
|
-
"kind": "text"
|
|
740
|
-
}
|
|
741
|
-
]
|
|
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```"
|
|
742
927
|
}
|
|
743
928
|
],
|
|
744
929
|
"docs": "Sorts an array in place.\r\nThis method mutates the array and returns a reference to the same array.",
|
|
@@ -749,7 +934,7 @@
|
|
|
749
934
|
},
|
|
750
935
|
{
|
|
751
936
|
"name": "splice",
|
|
752
|
-
"signature": "(start: number, deleteCount?: number) => T[]",
|
|
937
|
+
"signature": "(start: number, deleteCount?: number | undefined) => T[]",
|
|
753
938
|
"parameters": [
|
|
754
939
|
{
|
|
755
940
|
"name": "start",
|
|
@@ -766,46 +951,15 @@
|
|
|
766
951
|
"tags": [
|
|
767
952
|
{
|
|
768
953
|
"name": "param",
|
|
769
|
-
"text":
|
|
770
|
-
{
|
|
771
|
-
"text": "start",
|
|
772
|
-
"kind": "parameterName"
|
|
773
|
-
},
|
|
774
|
-
{
|
|
775
|
-
"text": " ",
|
|
776
|
-
"kind": "space"
|
|
777
|
-
},
|
|
778
|
-
{
|
|
779
|
-
"text": "The zero-based location in the array from which to start removing elements.",
|
|
780
|
-
"kind": "text"
|
|
781
|
-
}
|
|
782
|
-
]
|
|
954
|
+
"text": "start The zero-based location in the array from which to start removing elements."
|
|
783
955
|
},
|
|
784
956
|
{
|
|
785
957
|
"name": "param",
|
|
786
|
-
"text":
|
|
787
|
-
{
|
|
788
|
-
"text": "deleteCount",
|
|
789
|
-
"kind": "parameterName"
|
|
790
|
-
},
|
|
791
|
-
{
|
|
792
|
-
"text": " ",
|
|
793
|
-
"kind": "space"
|
|
794
|
-
},
|
|
795
|
-
{
|
|
796
|
-
"text": "The number of elements to remove.",
|
|
797
|
-
"kind": "text"
|
|
798
|
-
}
|
|
799
|
-
]
|
|
958
|
+
"text": "deleteCount The number of elements to remove."
|
|
800
959
|
},
|
|
801
960
|
{
|
|
802
961
|
"name": "returns",
|
|
803
|
-
"text":
|
|
804
|
-
{
|
|
805
|
-
"text": "An array containing the elements that were deleted.",
|
|
806
|
-
"kind": "text"
|
|
807
|
-
}
|
|
808
|
-
]
|
|
962
|
+
"text": "An array containing the elements that were deleted."
|
|
809
963
|
}
|
|
810
964
|
],
|
|
811
965
|
"docs": "Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.",
|
|
@@ -838,63 +992,19 @@
|
|
|
838
992
|
"tags": [
|
|
839
993
|
{
|
|
840
994
|
"name": "param",
|
|
841
|
-
"text":
|
|
842
|
-
{
|
|
843
|
-
"text": "start",
|
|
844
|
-
"kind": "parameterName"
|
|
845
|
-
},
|
|
846
|
-
{
|
|
847
|
-
"text": " ",
|
|
848
|
-
"kind": "space"
|
|
849
|
-
},
|
|
850
|
-
{
|
|
851
|
-
"text": "The zero-based location in the array from which to start removing elements.",
|
|
852
|
-
"kind": "text"
|
|
853
|
-
}
|
|
854
|
-
]
|
|
995
|
+
"text": "start The zero-based location in the array from which to start removing elements."
|
|
855
996
|
},
|
|
856
997
|
{
|
|
857
998
|
"name": "param",
|
|
858
|
-
"text":
|
|
859
|
-
{
|
|
860
|
-
"text": "deleteCount",
|
|
861
|
-
"kind": "parameterName"
|
|
862
|
-
},
|
|
863
|
-
{
|
|
864
|
-
"text": " ",
|
|
865
|
-
"kind": "space"
|
|
866
|
-
},
|
|
867
|
-
{
|
|
868
|
-
"text": "The number of elements to remove.",
|
|
869
|
-
"kind": "text"
|
|
870
|
-
}
|
|
871
|
-
]
|
|
999
|
+
"text": "deleteCount The number of elements to remove."
|
|
872
1000
|
},
|
|
873
1001
|
{
|
|
874
1002
|
"name": "param",
|
|
875
|
-
"text":
|
|
876
|
-
{
|
|
877
|
-
"text": "items",
|
|
878
|
-
"kind": "parameterName"
|
|
879
|
-
},
|
|
880
|
-
{
|
|
881
|
-
"text": " ",
|
|
882
|
-
"kind": "space"
|
|
883
|
-
},
|
|
884
|
-
{
|
|
885
|
-
"text": "Elements to insert into the array in place of the deleted elements.",
|
|
886
|
-
"kind": "text"
|
|
887
|
-
}
|
|
888
|
-
]
|
|
1003
|
+
"text": "items Elements to insert into the array in place of the deleted elements."
|
|
889
1004
|
},
|
|
890
1005
|
{
|
|
891
1006
|
"name": "returns",
|
|
892
|
-
"text":
|
|
893
|
-
{
|
|
894
|
-
"text": "An array containing the elements that were deleted.",
|
|
895
|
-
"kind": "text"
|
|
896
|
-
}
|
|
897
|
-
]
|
|
1007
|
+
"text": "An array containing the elements that were deleted."
|
|
898
1008
|
}
|
|
899
1009
|
],
|
|
900
1010
|
"docs": "Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.",
|
|
@@ -917,20 +1027,7 @@
|
|
|
917
1027
|
"tags": [
|
|
918
1028
|
{
|
|
919
1029
|
"name": "param",
|
|
920
|
-
"text":
|
|
921
|
-
{
|
|
922
|
-
"text": "items",
|
|
923
|
-
"kind": "parameterName"
|
|
924
|
-
},
|
|
925
|
-
{
|
|
926
|
-
"text": " ",
|
|
927
|
-
"kind": "space"
|
|
928
|
-
},
|
|
929
|
-
{
|
|
930
|
-
"text": "Elements to insert at the start of the array.",
|
|
931
|
-
"kind": "text"
|
|
932
|
-
}
|
|
933
|
-
]
|
|
1030
|
+
"text": "items Elements to insert at the start of the array."
|
|
934
1031
|
}
|
|
935
1032
|
],
|
|
936
1033
|
"docs": "Inserts new elements at the start of an array, and returns the new length of the array.",
|
|
@@ -941,7 +1038,7 @@
|
|
|
941
1038
|
},
|
|
942
1039
|
{
|
|
943
1040
|
"name": "indexOf",
|
|
944
|
-
"signature": "(searchElement: T, fromIndex?: number) => number",
|
|
1041
|
+
"signature": "(searchElement: T, fromIndex?: number | undefined) => number",
|
|
945
1042
|
"parameters": [
|
|
946
1043
|
{
|
|
947
1044
|
"name": "searchElement",
|
|
@@ -958,37 +1055,11 @@
|
|
|
958
1055
|
"tags": [
|
|
959
1056
|
{
|
|
960
1057
|
"name": "param",
|
|
961
|
-
"text":
|
|
962
|
-
{
|
|
963
|
-
"text": "searchElement",
|
|
964
|
-
"kind": "parameterName"
|
|
965
|
-
},
|
|
966
|
-
{
|
|
967
|
-
"text": " ",
|
|
968
|
-
"kind": "space"
|
|
969
|
-
},
|
|
970
|
-
{
|
|
971
|
-
"text": "The value to locate in the array.",
|
|
972
|
-
"kind": "text"
|
|
973
|
-
}
|
|
974
|
-
]
|
|
1058
|
+
"text": "searchElement The value to locate in the array."
|
|
975
1059
|
},
|
|
976
1060
|
{
|
|
977
1061
|
"name": "param",
|
|
978
|
-
"text":
|
|
979
|
-
{
|
|
980
|
-
"text": "fromIndex",
|
|
981
|
-
"kind": "parameterName"
|
|
982
|
-
},
|
|
983
|
-
{
|
|
984
|
-
"text": " ",
|
|
985
|
-
"kind": "space"
|
|
986
|
-
},
|
|
987
|
-
{
|
|
988
|
-
"text": "The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.",
|
|
989
|
-
"kind": "text"
|
|
990
|
-
}
|
|
991
|
-
]
|
|
1062
|
+
"text": "fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0."
|
|
992
1063
|
}
|
|
993
1064
|
],
|
|
994
1065
|
"docs": "Returns the index of the first occurrence of a value in an array, or -1 if it is not present.",
|
|
@@ -999,7 +1070,7 @@
|
|
|
999
1070
|
},
|
|
1000
1071
|
{
|
|
1001
1072
|
"name": "lastIndexOf",
|
|
1002
|
-
"signature": "(searchElement: T, fromIndex?: number) => number",
|
|
1073
|
+
"signature": "(searchElement: T, fromIndex?: number | undefined) => number",
|
|
1003
1074
|
"parameters": [
|
|
1004
1075
|
{
|
|
1005
1076
|
"name": "searchElement",
|
|
@@ -1016,37 +1087,11 @@
|
|
|
1016
1087
|
"tags": [
|
|
1017
1088
|
{
|
|
1018
1089
|
"name": "param",
|
|
1019
|
-
"text":
|
|
1020
|
-
{
|
|
1021
|
-
"text": "searchElement",
|
|
1022
|
-
"kind": "parameterName"
|
|
1023
|
-
},
|
|
1024
|
-
{
|
|
1025
|
-
"text": " ",
|
|
1026
|
-
"kind": "space"
|
|
1027
|
-
},
|
|
1028
|
-
{
|
|
1029
|
-
"text": "The value to locate in the array.",
|
|
1030
|
-
"kind": "text"
|
|
1031
|
-
}
|
|
1032
|
-
]
|
|
1090
|
+
"text": "searchElement The value to locate in the array."
|
|
1033
1091
|
},
|
|
1034
1092
|
{
|
|
1035
1093
|
"name": "param",
|
|
1036
|
-
"text":
|
|
1037
|
-
{
|
|
1038
|
-
"text": "fromIndex",
|
|
1039
|
-
"kind": "parameterName"
|
|
1040
|
-
},
|
|
1041
|
-
{
|
|
1042
|
-
"text": " ",
|
|
1043
|
-
"kind": "space"
|
|
1044
|
-
},
|
|
1045
|
-
{
|
|
1046
|
-
"text": "The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.",
|
|
1047
|
-
"kind": "text"
|
|
1048
|
-
}
|
|
1049
|
-
]
|
|
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."
|
|
1050
1095
|
}
|
|
1051
1096
|
],
|
|
1052
1097
|
"docs": "Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.",
|
|
@@ -1074,37 +1119,11 @@
|
|
|
1074
1119
|
"tags": [
|
|
1075
1120
|
{
|
|
1076
1121
|
"name": "param",
|
|
1077
|
-
"text":
|
|
1078
|
-
{
|
|
1079
|
-
"text": "predicate",
|
|
1080
|
-
"kind": "parameterName"
|
|
1081
|
-
},
|
|
1082
|
-
{
|
|
1083
|
-
"text": " ",
|
|
1084
|
-
"kind": "space"
|
|
1085
|
-
},
|
|
1086
|
-
{
|
|
1087
|
-
"text": "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.",
|
|
1088
|
-
"kind": "text"
|
|
1089
|
-
}
|
|
1090
|
-
]
|
|
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."
|
|
1091
1123
|
},
|
|
1092
1124
|
{
|
|
1093
1125
|
"name": "param",
|
|
1094
|
-
"text":
|
|
1095
|
-
{
|
|
1096
|
-
"text": "thisArg",
|
|
1097
|
-
"kind": "parameterName"
|
|
1098
|
-
},
|
|
1099
|
-
{
|
|
1100
|
-
"text": " ",
|
|
1101
|
-
"kind": "space"
|
|
1102
|
-
},
|
|
1103
|
-
{
|
|
1104
|
-
"text": "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.",
|
|
1105
|
-
"kind": "text"
|
|
1106
|
-
}
|
|
1107
|
-
]
|
|
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."
|
|
1108
1127
|
}
|
|
1109
1128
|
],
|
|
1110
1129
|
"docs": "Determines whether all the members of an array satisfy the specified test.",
|
|
@@ -1133,37 +1152,11 @@
|
|
|
1133
1152
|
"tags": [
|
|
1134
1153
|
{
|
|
1135
1154
|
"name": "param",
|
|
1136
|
-
"text":
|
|
1137
|
-
{
|
|
1138
|
-
"text": "predicate",
|
|
1139
|
-
"kind": "parameterName"
|
|
1140
|
-
},
|
|
1141
|
-
{
|
|
1142
|
-
"text": " ",
|
|
1143
|
-
"kind": "space"
|
|
1144
|
-
},
|
|
1145
|
-
{
|
|
1146
|
-
"text": "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.",
|
|
1147
|
-
"kind": "text"
|
|
1148
|
-
}
|
|
1149
|
-
]
|
|
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."
|
|
1150
1156
|
},
|
|
1151
1157
|
{
|
|
1152
1158
|
"name": "param",
|
|
1153
|
-
"text":
|
|
1154
|
-
{
|
|
1155
|
-
"text": "thisArg",
|
|
1156
|
-
"kind": "parameterName"
|
|
1157
|
-
},
|
|
1158
|
-
{
|
|
1159
|
-
"text": " ",
|
|
1160
|
-
"kind": "space"
|
|
1161
|
-
},
|
|
1162
|
-
{
|
|
1163
|
-
"text": "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.",
|
|
1164
|
-
"kind": "text"
|
|
1165
|
-
}
|
|
1166
|
-
]
|
|
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."
|
|
1167
1160
|
}
|
|
1168
1161
|
],
|
|
1169
1162
|
"docs": "Determines whether all the members of an array satisfy the specified test.",
|
|
@@ -1191,37 +1184,11 @@
|
|
|
1191
1184
|
"tags": [
|
|
1192
1185
|
{
|
|
1193
1186
|
"name": "param",
|
|
1194
|
-
"text":
|
|
1195
|
-
{
|
|
1196
|
-
"text": "predicate",
|
|
1197
|
-
"kind": "parameterName"
|
|
1198
|
-
},
|
|
1199
|
-
{
|
|
1200
|
-
"text": " ",
|
|
1201
|
-
"kind": "space"
|
|
1202
|
-
},
|
|
1203
|
-
{
|
|
1204
|
-
"text": "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.",
|
|
1205
|
-
"kind": "text"
|
|
1206
|
-
}
|
|
1207
|
-
]
|
|
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."
|
|
1208
1188
|
},
|
|
1209
1189
|
{
|
|
1210
1190
|
"name": "param",
|
|
1211
|
-
"text":
|
|
1212
|
-
{
|
|
1213
|
-
"text": "thisArg",
|
|
1214
|
-
"kind": "parameterName"
|
|
1215
|
-
},
|
|
1216
|
-
{
|
|
1217
|
-
"text": " ",
|
|
1218
|
-
"kind": "space"
|
|
1219
|
-
},
|
|
1220
|
-
{
|
|
1221
|
-
"text": "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.",
|
|
1222
|
-
"kind": "text"
|
|
1223
|
-
}
|
|
1224
|
-
]
|
|
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."
|
|
1225
1192
|
}
|
|
1226
1193
|
],
|
|
1227
1194
|
"docs": "Determines whether the specified callback function returns true for any element of an array.",
|
|
@@ -1249,37 +1216,11 @@
|
|
|
1249
1216
|
"tags": [
|
|
1250
1217
|
{
|
|
1251
1218
|
"name": "param",
|
|
1252
|
-
"text":
|
|
1253
|
-
{
|
|
1254
|
-
"text": "callbackfn",
|
|
1255
|
-
"kind": "parameterName"
|
|
1256
|
-
},
|
|
1257
|
-
{
|
|
1258
|
-
"text": " ",
|
|
1259
|
-
"kind": "space"
|
|
1260
|
-
},
|
|
1261
|
-
{
|
|
1262
|
-
"text": "A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.",
|
|
1263
|
-
"kind": "text"
|
|
1264
|
-
}
|
|
1265
|
-
]
|
|
1219
|
+
"text": "callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array."
|
|
1266
1220
|
},
|
|
1267
1221
|
{
|
|
1268
1222
|
"name": "param",
|
|
1269
|
-
"text":
|
|
1270
|
-
{
|
|
1271
|
-
"text": "thisArg",
|
|
1272
|
-
"kind": "parameterName"
|
|
1273
|
-
},
|
|
1274
|
-
{
|
|
1275
|
-
"text": " ",
|
|
1276
|
-
"kind": "space"
|
|
1277
|
-
},
|
|
1278
|
-
{
|
|
1279
|
-
"text": "An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.",
|
|
1280
|
-
"kind": "text"
|
|
1281
|
-
}
|
|
1282
|
-
]
|
|
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."
|
|
1283
1224
|
}
|
|
1284
1225
|
],
|
|
1285
1226
|
"docs": "Performs the specified action for each element in an array.",
|
|
@@ -1307,37 +1248,11 @@
|
|
|
1307
1248
|
"tags": [
|
|
1308
1249
|
{
|
|
1309
1250
|
"name": "param",
|
|
1310
|
-
"text":
|
|
1311
|
-
{
|
|
1312
|
-
"text": "callbackfn",
|
|
1313
|
-
"kind": "parameterName"
|
|
1314
|
-
},
|
|
1315
|
-
{
|
|
1316
|
-
"text": " ",
|
|
1317
|
-
"kind": "space"
|
|
1318
|
-
},
|
|
1319
|
-
{
|
|
1320
|
-
"text": "A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.",
|
|
1321
|
-
"kind": "text"
|
|
1322
|
-
}
|
|
1323
|
-
]
|
|
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."
|
|
1324
1252
|
},
|
|
1325
1253
|
{
|
|
1326
1254
|
"name": "param",
|
|
1327
|
-
"text":
|
|
1328
|
-
{
|
|
1329
|
-
"text": "thisArg",
|
|
1330
|
-
"kind": "parameterName"
|
|
1331
|
-
},
|
|
1332
|
-
{
|
|
1333
|
-
"text": " ",
|
|
1334
|
-
"kind": "space"
|
|
1335
|
-
},
|
|
1336
|
-
{
|
|
1337
|
-
"text": "An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.",
|
|
1338
|
-
"kind": "text"
|
|
1339
|
-
}
|
|
1340
|
-
]
|
|
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."
|
|
1341
1256
|
}
|
|
1342
1257
|
],
|
|
1343
1258
|
"docs": "Calls a defined callback function on each element of an array, and returns an array that contains the results.",
|
|
@@ -1366,37 +1281,11 @@
|
|
|
1366
1281
|
"tags": [
|
|
1367
1282
|
{
|
|
1368
1283
|
"name": "param",
|
|
1369
|
-
"text":
|
|
1370
|
-
{
|
|
1371
|
-
"text": "predicate",
|
|
1372
|
-
"kind": "parameterName"
|
|
1373
|
-
},
|
|
1374
|
-
{
|
|
1375
|
-
"text": " ",
|
|
1376
|
-
"kind": "space"
|
|
1377
|
-
},
|
|
1378
|
-
{
|
|
1379
|
-
"text": "A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.",
|
|
1380
|
-
"kind": "text"
|
|
1381
|
-
}
|
|
1382
|
-
]
|
|
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."
|
|
1383
1285
|
},
|
|
1384
1286
|
{
|
|
1385
1287
|
"name": "param",
|
|
1386
|
-
"text":
|
|
1387
|
-
{
|
|
1388
|
-
"text": "thisArg",
|
|
1389
|
-
"kind": "parameterName"
|
|
1390
|
-
},
|
|
1391
|
-
{
|
|
1392
|
-
"text": " ",
|
|
1393
|
-
"kind": "space"
|
|
1394
|
-
},
|
|
1395
|
-
{
|
|
1396
|
-
"text": "An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.",
|
|
1397
|
-
"kind": "text"
|
|
1398
|
-
}
|
|
1399
|
-
]
|
|
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."
|
|
1400
1289
|
}
|
|
1401
1290
|
],
|
|
1402
1291
|
"docs": "Returns the elements of an array that meet the condition specified in a callback function.",
|
|
@@ -1425,37 +1314,11 @@
|
|
|
1425
1314
|
"tags": [
|
|
1426
1315
|
{
|
|
1427
1316
|
"name": "param",
|
|
1428
|
-
"text":
|
|
1429
|
-
{
|
|
1430
|
-
"text": "predicate",
|
|
1431
|
-
"kind": "parameterName"
|
|
1432
|
-
},
|
|
1433
|
-
{
|
|
1434
|
-
"text": " ",
|
|
1435
|
-
"kind": "space"
|
|
1436
|
-
},
|
|
1437
|
-
{
|
|
1438
|
-
"text": "A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.",
|
|
1439
|
-
"kind": "text"
|
|
1440
|
-
}
|
|
1441
|
-
]
|
|
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."
|
|
1442
1318
|
},
|
|
1443
1319
|
{
|
|
1444
1320
|
"name": "param",
|
|
1445
|
-
"text":
|
|
1446
|
-
{
|
|
1447
|
-
"text": "thisArg",
|
|
1448
|
-
"kind": "parameterName"
|
|
1449
|
-
},
|
|
1450
|
-
{
|
|
1451
|
-
"text": " ",
|
|
1452
|
-
"kind": "space"
|
|
1453
|
-
},
|
|
1454
|
-
{
|
|
1455
|
-
"text": "An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.",
|
|
1456
|
-
"kind": "text"
|
|
1457
|
-
}
|
|
1458
|
-
]
|
|
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."
|
|
1459
1322
|
}
|
|
1460
1323
|
],
|
|
1461
1324
|
"docs": "Returns the elements of an array that meet the condition specified in a callback function.",
|
|
@@ -1478,37 +1341,11 @@
|
|
|
1478
1341
|
"tags": [
|
|
1479
1342
|
{
|
|
1480
1343
|
"name": "param",
|
|
1481
|
-
"text":
|
|
1482
|
-
{
|
|
1483
|
-
"text": "callbackfn",
|
|
1484
|
-
"kind": "parameterName"
|
|
1485
|
-
},
|
|
1486
|
-
{
|
|
1487
|
-
"text": " ",
|
|
1488
|
-
"kind": "space"
|
|
1489
|
-
},
|
|
1490
|
-
{
|
|
1491
|
-
"text": "A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.",
|
|
1492
|
-
"kind": "text"
|
|
1493
|
-
}
|
|
1494
|
-
]
|
|
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."
|
|
1495
1345
|
},
|
|
1496
1346
|
{
|
|
1497
1347
|
"name": "param",
|
|
1498
|
-
"text":
|
|
1499
|
-
{
|
|
1500
|
-
"text": "initialValue",
|
|
1501
|
-
"kind": "parameterName"
|
|
1502
|
-
},
|
|
1503
|
-
{
|
|
1504
|
-
"text": " ",
|
|
1505
|
-
"kind": "space"
|
|
1506
|
-
},
|
|
1507
|
-
{
|
|
1508
|
-
"text": "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.",
|
|
1509
|
-
"kind": "text"
|
|
1510
|
-
}
|
|
1511
|
-
]
|
|
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."
|
|
1512
1349
|
}
|
|
1513
1350
|
],
|
|
1514
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.",
|
|
@@ -1559,37 +1396,11 @@
|
|
|
1559
1396
|
"tags": [
|
|
1560
1397
|
{
|
|
1561
1398
|
"name": "param",
|
|
1562
|
-
"text":
|
|
1563
|
-
{
|
|
1564
|
-
"text": "callbackfn",
|
|
1565
|
-
"kind": "parameterName"
|
|
1566
|
-
},
|
|
1567
|
-
{
|
|
1568
|
-
"text": " ",
|
|
1569
|
-
"kind": "space"
|
|
1570
|
-
},
|
|
1571
|
-
{
|
|
1572
|
-
"text": "A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.",
|
|
1573
|
-
"kind": "text"
|
|
1574
|
-
}
|
|
1575
|
-
]
|
|
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."
|
|
1576
1400
|
},
|
|
1577
1401
|
{
|
|
1578
1402
|
"name": "param",
|
|
1579
|
-
"text":
|
|
1580
|
-
{
|
|
1581
|
-
"text": "initialValue",
|
|
1582
|
-
"kind": "parameterName"
|
|
1583
|
-
},
|
|
1584
|
-
{
|
|
1585
|
-
"text": " ",
|
|
1586
|
-
"kind": "space"
|
|
1587
|
-
},
|
|
1588
|
-
{
|
|
1589
|
-
"text": "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.",
|
|
1590
|
-
"kind": "text"
|
|
1591
|
-
}
|
|
1592
|
-
]
|
|
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."
|
|
1593
1404
|
}
|
|
1594
1405
|
],
|
|
1595
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.",
|
|
@@ -1613,37 +1424,11 @@
|
|
|
1613
1424
|
"tags": [
|
|
1614
1425
|
{
|
|
1615
1426
|
"name": "param",
|
|
1616
|
-
"text":
|
|
1617
|
-
{
|
|
1618
|
-
"text": "callbackfn",
|
|
1619
|
-
"kind": "parameterName"
|
|
1620
|
-
},
|
|
1621
|
-
{
|
|
1622
|
-
"text": " ",
|
|
1623
|
-
"kind": "space"
|
|
1624
|
-
},
|
|
1625
|
-
{
|
|
1626
|
-
"text": "A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.",
|
|
1627
|
-
"kind": "text"
|
|
1628
|
-
}
|
|
1629
|
-
]
|
|
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."
|
|
1630
1428
|
},
|
|
1631
1429
|
{
|
|
1632
1430
|
"name": "param",
|
|
1633
|
-
"text":
|
|
1634
|
-
{
|
|
1635
|
-
"text": "initialValue",
|
|
1636
|
-
"kind": "parameterName"
|
|
1637
|
-
},
|
|
1638
|
-
{
|
|
1639
|
-
"text": " ",
|
|
1640
|
-
"kind": "space"
|
|
1641
|
-
},
|
|
1642
|
-
{
|
|
1643
|
-
"text": "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.",
|
|
1644
|
-
"kind": "text"
|
|
1645
|
-
}
|
|
1646
|
-
]
|
|
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."
|
|
1647
1432
|
}
|
|
1648
1433
|
],
|
|
1649
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.",
|
|
@@ -1694,37 +1479,11 @@
|
|
|
1694
1479
|
"tags": [
|
|
1695
1480
|
{
|
|
1696
1481
|
"name": "param",
|
|
1697
|
-
"text":
|
|
1698
|
-
{
|
|
1699
|
-
"text": "callbackfn",
|
|
1700
|
-
"kind": "parameterName"
|
|
1701
|
-
},
|
|
1702
|
-
{
|
|
1703
|
-
"text": " ",
|
|
1704
|
-
"kind": "space"
|
|
1705
|
-
},
|
|
1706
|
-
{
|
|
1707
|
-
"text": "A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.",
|
|
1708
|
-
"kind": "text"
|
|
1709
|
-
}
|
|
1710
|
-
]
|
|
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."
|
|
1711
1483
|
},
|
|
1712
1484
|
{
|
|
1713
1485
|
"name": "param",
|
|
1714
|
-
"text":
|
|
1715
|
-
{
|
|
1716
|
-
"text": "initialValue",
|
|
1717
|
-
"kind": "parameterName"
|
|
1718
|
-
},
|
|
1719
|
-
{
|
|
1720
|
-
"text": " ",
|
|
1721
|
-
"kind": "space"
|
|
1722
|
-
},
|
|
1723
|
-
{
|
|
1724
|
-
"text": "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.",
|
|
1725
|
-
"kind": "text"
|
|
1726
|
-
}
|
|
1727
|
-
]
|
|
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."
|
|
1728
1487
|
}
|
|
1729
1488
|
],
|
|
1730
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.",
|
|
@@ -1753,7 +1512,7 @@
|
|
|
1753
1512
|
"methods": [
|
|
1754
1513
|
{
|
|
1755
1514
|
"name": "join",
|
|
1756
|
-
"signature": "(separator?: string) => string",
|
|
1515
|
+
"signature": "(separator?: string | undefined) => string",
|
|
1757
1516
|
"parameters": [
|
|
1758
1517
|
{
|
|
1759
1518
|
"name": "separator",
|
|
@@ -1769,7 +1528,7 @@
|
|
|
1769
1528
|
},
|
|
1770
1529
|
{
|
|
1771
1530
|
"name": "slice",
|
|
1772
|
-
"signature": "(start?: number, end?: number) => T[]",
|
|
1531
|
+
"signature": "(start?: number | undefined, end?: number | undefined) => T[]",
|
|
1773
1532
|
"parameters": [
|
|
1774
1533
|
{
|
|
1775
1534
|
"name": "start",
|
|
@@ -1801,64 +1560,6 @@
|
|
|
1801
1560
|
}
|
|
1802
1561
|
]
|
|
1803
1562
|
},
|
|
1804
|
-
{
|
|
1805
|
-
"name": "AudioTrack",
|
|
1806
|
-
"slug": "audiotrack",
|
|
1807
|
-
"docs": "An audio track for playback by the playlist.",
|
|
1808
|
-
"tags": [],
|
|
1809
|
-
"methods": [],
|
|
1810
|
-
"properties": [
|
|
1811
|
-
{
|
|
1812
|
-
"name": "isStream",
|
|
1813
|
-
"tags": [],
|
|
1814
|
-
"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.",
|
|
1815
|
-
"complexTypes": [],
|
|
1816
|
-
"type": "boolean | undefined"
|
|
1817
|
-
},
|
|
1818
|
-
{
|
|
1819
|
-
"name": "trackId",
|
|
1820
|
-
"tags": [],
|
|
1821
|
-
"docs": "trackId is optional and if not passed in, an auto-generated UUID will be used.",
|
|
1822
|
-
"complexTypes": [],
|
|
1823
|
-
"type": "string | undefined"
|
|
1824
|
-
},
|
|
1825
|
-
{
|
|
1826
|
-
"name": "assetUrl",
|
|
1827
|
-
"tags": [],
|
|
1828
|
-
"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.",
|
|
1829
|
-
"complexTypes": [],
|
|
1830
|
-
"type": "string"
|
|
1831
|
-
},
|
|
1832
|
-
{
|
|
1833
|
-
"name": "albumArt",
|
|
1834
|
-
"tags": [],
|
|
1835
|
-
"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.",
|
|
1836
|
-
"complexTypes": [],
|
|
1837
|
-
"type": "string | undefined"
|
|
1838
|
-
},
|
|
1839
|
-
{
|
|
1840
|
-
"name": "artist",
|
|
1841
|
-
"tags": [],
|
|
1842
|
-
"docs": "The track's artist",
|
|
1843
|
-
"complexTypes": [],
|
|
1844
|
-
"type": "string"
|
|
1845
|
-
},
|
|
1846
|
-
{
|
|
1847
|
-
"name": "album",
|
|
1848
|
-
"tags": [],
|
|
1849
|
-
"docs": "Album the track belongs to",
|
|
1850
|
-
"complexTypes": [],
|
|
1851
|
-
"type": "string"
|
|
1852
|
-
},
|
|
1853
|
-
{
|
|
1854
|
-
"name": "title",
|
|
1855
|
-
"tags": [],
|
|
1856
|
-
"docs": "Title of the track",
|
|
1857
|
-
"complexTypes": [],
|
|
1858
|
-
"type": "string"
|
|
1859
|
-
}
|
|
1860
|
-
]
|
|
1861
|
-
},
|
|
1862
1563
|
{
|
|
1863
1564
|
"name": "PlaylistItemOptions",
|
|
1864
1565
|
"slug": "playlistitemoptions",
|
|
@@ -1929,7 +1630,7 @@
|
|
|
1929
1630
|
"Array",
|
|
1930
1631
|
"AudioTrack"
|
|
1931
1632
|
],
|
|
1932
|
-
"type": "AudioTrack
|
|
1633
|
+
"type": "Array<AudioTrack>"
|
|
1933
1634
|
}
|
|
1934
1635
|
]
|
|
1935
1636
|
},
|
|
@@ -1971,7 +1672,7 @@
|
|
|
1971
1672
|
"Array",
|
|
1972
1673
|
"RemoveItemOptions"
|
|
1973
1674
|
],
|
|
1974
|
-
"type": "RemoveItemOptions
|
|
1675
|
+
"type": "Array<RemoveItemOptions>"
|
|
1975
1676
|
}
|
|
1976
1677
|
]
|
|
1977
1678
|
},
|
|
@@ -2132,5 +1833,208 @@
|
|
|
2132
1833
|
]
|
|
2133
1834
|
}
|
|
2134
1835
|
],
|
|
2135
|
-
"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": []
|
|
2136
2040
|
}
|