Skip to content

Commit

Permalink
fix(music-controls): fix return types for methods
Browse files Browse the repository at this point in the history
  • Loading branch information
ihadeed committed Mar 20, 2017
1 parent d845519 commit f3407e5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/plugins/music-controls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +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
*
* 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 Expand Up @@ -137,13 +137,13 @@ export class MusicControls {
* Toggle play/pause:
* @param isPlaying {boolean}
*/
@Cordova({sync: true})
@Cordova()
static updateIsPlaying(isPlaying: boolean): void {}

/**
* Toggle dismissable:
* @param dismissable {boolean}
*/
@Cordova({sync: true})
@Cordova()
static updateDismissable(dismissable: boolean): void {}
}

0 comments on commit f3407e5

Please sign in to comment.