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.
public class MediaControllerManager : IDisposable
- Inheritance
-
MediaControllerManager
- Implements
Constructors
View SourceMediaControllerManager()
Initializes a new instance of the MediaControllerManager class.
Declaration
public MediaControllerManager()
Exceptions
Type | Condition |
---|---|
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
View SourceDispose()
Releases all resources used by the MediaControllerManager.
Declaration
public void Dispose()
API Level: 4
View SourceDispose(Boolean)
Releases the unmanaged resources used by the MediaControllerManager.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
Boolean | disposing | true to release both managed and unmanaged resources; false to release only unmanaged resources. |
API Level: 4
View SourceGetActiveControllers()
Gets the active controllers.
Declaration
public MediaController[] GetActiveControllers()
Returns
Type | Description |
---|---|
MediaController[] | An array of MediaController. |
API Level: 4
Events
View SourceServerStarted
Occurs when a server is started.
Declaration
public event EventHandler<MediaControlServerStartedEventArgs> ServerStarted
Event Type
Type | Description |
---|---|
EventHandler<MediaControlServerStartedEventArgs> |
API Level: 4
View SourceServerStopped
Occurs when a server is stopped.
Declaration
public event EventHandler<MediaControlServerStoppedEventArgs> ServerStopped
Event Type
Type | Description |
---|---|
EventHandler<MediaControlServerStoppedEventArgs> |