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.

    public class MediaControllerManager : IDisposable
    Inheritance
    object
    MediaControllerManager
    Implements
    System.IDisposable

    Constructors

    View Source

    MediaControllerManager()

    Initializes a new instance of the MediaControllerManager class.

    Declaration
    public MediaControllerManager()
    Exceptions
    Type Condition
    System.InvalidOperationException

    An internal error occurs.

    System.UnauthorizedAccessException

    The caller does not have required privilege.

    Methods

    View Source

    Dispose()

    Releases all resources used by the MediaControllerManager.

    Declaration
    public void Dispose()
    View Source

    Dispose(bool)

    Releases the unmanaged resources used by the MediaControllerManager.

    Declaration
    protected 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.

    View Source

    GetActiveControllers()

    Gets the active controllers.

    Declaration
    public MediaController[] GetActiveControllers()
    Returns
    Type Description
    MediaController[]

    An array of MediaController.

    Events

    View Source

    ServerStarted

    Occurs when a server is started.

    Declaration
    public event EventHandler<MediaControlServerStartedEventArgs> ServerStarted
    Event Type
    Type Description
    System.EventHandler<TEventArgs><MediaControlServerStartedEventArgs>
    View Source

    ServerStopped

    Occurs when a server is stopped.

    Declaration
    public event EventHandler<MediaControlServerStoppedEventArgs> ServerStopped
    Event Type
    Type Description
    System.EventHandler<TEventArgs><MediaControlServerStoppedEventArgs>

    Implements

    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX