Skip to content

Commit

Permalink
feat(music-controls): add missing options
Browse files Browse the repository at this point in the history
  • Loading branch information
pniraula authored and ihadeed committed Mar 20, 2017
1 parent 9bf4ee3 commit 234165c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/plugins/music-controls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ export interface MusicControlsOptions {
hasPrev: boolean;
hasNext: boolean;
hasClose: boolean;
album:string;
duration: number;
elapsed:number;
ticker: string;
}

Expand Down Expand Up @@ -37,7 +40,12 @@ export interface MusicControlsOptions {
* hasPrev : false, // show previous button, optional, default: true
* hasNext : false, // show next button, optional, default: true
* 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
* // text displayed in the status bar when the notification (and the ticker) are updated
* ticker : 'Now playing "Time is Running Out"'
Expand Down

0 comments on commit 234165c

Please sign in to comment.