fix(music-controls): fix return types for methods

This commit is contained in:
Ibby 2017-03-20 16:18:55 -04:00
parent d845519361
commit f3407e5582

View File

@ -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"'
@ -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 {}
}