mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-17 09:01:07 +08:00
Added new optional parameters for Icons in Interface
This commit is contained in:
parent
f11be24f74
commit
8ece08379c
@ -20,6 +20,12 @@ export interface MusicControlsOptions {
|
|||||||
duration?: number;
|
duration?: number;
|
||||||
elapsed?: number;
|
elapsed?: number;
|
||||||
ticker?: string;
|
ticker?: string;
|
||||||
|
playIcon?:string;
|
||||||
|
pauseIcon?:string;
|
||||||
|
prevIcon?:string;
|
||||||
|
nextIcon?:string;
|
||||||
|
closeIcon?:string;
|
||||||
|
notificationIcon?:string;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -63,7 +69,15 @@ export interface MusicControlsOptions {
|
|||||||
*
|
*
|
||||||
* // Android only, optional
|
* // Android only, optional
|
||||||
* // text displayed in the status bar when the notification (and the ticker) are updated, optional
|
* // text displayed in the status bar when the notification (and the ticker) are updated, optional
|
||||||
* ticker : 'Now playing "Time is Running Out"'
|
* ticker : 'Now playing "Time is Running Out"',
|
||||||
|
* //All icons default to their built-in android equivalents
|
||||||
|
* //The supplied drawable name, e.g. 'media_play', is the name of a drawable found under android/res/drawable* folders
|
||||||
|
* playIcon: 'media_play',
|
||||||
|
* pauseIcon: 'media_pause',
|
||||||
|
* prevIcon: 'media_prev',
|
||||||
|
* nextIcon: 'media_next',
|
||||||
|
* closeIcon: 'media_close',
|
||||||
|
* notificationIcon: 'notification'
|
||||||
* });
|
* });
|
||||||
*
|
*
|
||||||
* this.musicControls.subscribe().subscribe(action => {
|
* this.musicControls.subscribe().subscribe(action => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user