diff --git a/src/plugins/music-controls.ts b/src/plugins/music-controls.ts index da4c14db2..23d721420 100644 --- a/src/plugins/music-controls.ts +++ b/src/plugins/music-controls.ts @@ -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 {} }