mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-17 00:51:07 +08:00
feat(music-controls): add missing options
This commit is contained in:
parent
9bf4ee3fac
commit
234165c294
@ -10,6 +10,9 @@ export interface MusicControlsOptions {
|
|||||||
hasPrev: boolean;
|
hasPrev: boolean;
|
||||||
hasNext: boolean;
|
hasNext: boolean;
|
||||||
hasClose: boolean;
|
hasClose: boolean;
|
||||||
|
album:string;
|
||||||
|
duration: number;
|
||||||
|
elapsed:number;
|
||||||
ticker: string;
|
ticker: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -37,7 +40,12 @@ export interface MusicControlsOptions {
|
|||||||
* hasPrev : false, // show previous button, optional, default: true
|
* hasPrev : false, // show previous button, optional, default: true
|
||||||
* hasNext : false, // show next button, optional, default: true
|
* hasNext : false, // show next button, optional, default: true
|
||||||
* hasClose : true, // show close button, optional, default: false
|
* hasClose : true, // show close button, optional, default: false
|
||||||
*
|
*
|
||||||
|
* // iOS only, optional
|
||||||
|
* album : 'Absolution' // optional, default: ''
|
||||||
|
* duration : 60, // optional, default: 0
|
||||||
|
* elapsed : 10, // optional, default: 0
|
||||||
|
*
|
||||||
* // Android only, optional
|
* // Android only, optional
|
||||||
* // text displayed in the status bar when the notification (and the ticker) are updated
|
* // text displayed in the status bar when the notification (and the ticker) are updated
|
||||||
* ticker : 'Now playing "Time is Running Out"'
|
* ticker : 'Now playing "Time is Running Out"'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user