Class MediaControllerManager
Definition
- Namespace:
- Tizen.Multimedia.Remoting
- Assembly:
- Tizen.Multimedia.Remoting.dll
Provides a means to retrieve active controllers and observe controllers added and removed.
C#Copypublic class MediaControllerManager : IDisposable
- Inheritance
-
objectMediaControllerManager
- Implements
-
System.IDisposable
Constructors
View Source
MediaControllerManager()
Initializes a new instance of the MediaControllerManager class.
Declaration
C#Copypublic MediaControllerManager()
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | An internal error occurs. |
System.UnauthorizedAccessException | The caller does not have required privilege. |
Methods
Declaration
C#Copypublic void Dispose()
Declaration
C#Copyprotected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing | true to release both managed and unmanaged resources; false to release only unmanaged resources. |
Declaration
C#Copypublic MediaController[] GetActiveControllers()
Returns
Type | Description |
---|---|
MediaController[] | An array of MediaController. |
Events
Declaration
C#Copypublic event EventHandler<MediaControlServerStartedEventArgs> ServerStarted
Event Type
Type | Description |
---|---|
System.EventHandler<TEventArgs><MediaControlServerStartedEventArgs> |
Declaration
C#Copypublic event EventHandler<MediaControlServerStoppedEventArgs> ServerStopped
Event Type
Type | Description |
---|---|
System.EventHandler<TEventArgs><MediaControlServerStoppedEventArgs> |
Implements
System.IDisposable