mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Hololens - Show/hide media controls according to playback state
This commit is contained in:
parent
c810962d78
commit
d633c8b9da
7 changed files with 69 additions and 4 deletions
|
@ -2,6 +2,7 @@ namespace ServoApp {
|
|||
|
||||
delegate void EventDelegate();
|
||||
delegate void HistoryChangedDelegate(Boolean back, Boolean forward);
|
||||
delegate void MediaSessionMetadataDelegate(String title, String artist, String album);
|
||||
|
||||
runtimeclass ServoControl : Windows.UI.Xaml.Controls.Control {
|
||||
ServoControl();
|
||||
|
@ -20,5 +21,7 @@ namespace ServoApp {
|
|||
event HistoryChangedDelegate OnHistoryChanged;
|
||||
event Windows.Foundation.EventHandler<String> OnTitleChanged;
|
||||
event Windows.Foundation.EventHandler<String> OnURLChanged;
|
||||
event MediaSessionMetadataDelegate OnMediaSessionMetadata;
|
||||
event Windows.Foundation.EventHandler<int> OnMediaSessionPlaybackStateChange;
|
||||
}
|
||||
} // namespace ServoApp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue