Class MediaControllerManager
Definition
- Namespace:
- Tizen.Multimedia.Remoting
- Assembly:
- Tizen.Multimedia.Remoting.dll
- API Level:
- 4
Provides a means to retrieve active controllers and observe controllers added and removed.
C#Copypublic class MediaControllerManager : IDisposable
- Inheritance
-
System.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. |
UnauthorizedAccessException | The caller does not have required privilege. |
API Level: 4
Privilege Level: public
Privilege: http://tizen.org/privilege/mediacontroller.client
Methods
Declaration
C#Copypublic void Dispose()
API Level: 4
Declaration
C#Copyprotected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | true to release both managed and unmanaged resources; false to release only unmanaged resources. |
API Level: 4
Declaration
C#Copypublic MediaController[] GetActiveControllers()
Returns
Type | Description |
---|---|
MediaController[] | An array of MediaController. |
API Level: 4
Events
Declaration
C#Copypublic event EventHandler<MediaControlServerStartedEventArgs> ServerStarted
Event Type
Type | Description |
---|---|
System.EventHandler<MediaControlServerStartedEventArgs> |
API Level: 4
Declaration
C#Copypublic event EventHandler<MediaControlServerStoppedEventArgs> ServerStopped
Event Type
Type | Description |
---|---|
System.EventHandler<MediaControlServerStoppedEventArgs> |
API Level: 4
Implements
System.IDisposable