Class CameraDeviceManager

    Definition

    Namespace:
    Tizen.Multimedia
    Assembly:
    Tizen.Multimedia.Camera.dll

    This CameraDeviceManager class provides methods to control current camera devices and get its information.

    public class CameraDeviceManager : IDisposable
    Inheritance
    object
    CameraDeviceManager
    Remarks

    This supports the product infrastructure and is not intended to be used directly from 3rd party application code.

    Constructors

    View Source

    CameraDeviceManager()

    Initializes a new instance of the CameraDeviceManager class.

    Declaration
    public CameraDeviceManager()
    Remarks

    This supports the product infrastructure and is not intended to be used directly from 3rd party application code.

    Properties

    View Source

    IsCameraDeviceManagerSupported

    Gets the state of Camera Device Manager support.

    Declaration
    public static bool IsCameraDeviceManagerSupported { get; }
    Property Value
    Type Description
    bool

    true if camera device manager is supported.

    Remarks

    This supports the product infrastructure and is not intended to be used directly from 3rd party application code.

    View Source

    IsExternalCameraConnected

    Gets the status whether camera device(usb, network) is connected or not.

    Declaration
    public bool IsExternalCameraConnected { get; }
    Property Value
    Type Description
    bool

    true if usb or network camera is connected.

    Remarks

    This supports the product infrastructure and is not intended to be used directly from 3rd party application code.

    View Source

    SupportedDevices

    Retrieves all the supported camera devices and returns its information.

    Declaration
    public IEnumerable<CameraDeviceInformation> SupportedDevices { get; }
    Property Value
    Type Description
    IEnumerable<><CameraDeviceInformation>

    if camera device exist, returns list of CameraDeviceInformation; otherwise returns Enumerable.Empty.

    Remarks

    This supports the product infrastructure and is not intended to be used directly from 3rd party application code.

    Methods

    View Source

    Dispose()

    Releases all resources used by the camera.

    Declaration
    public void Dispose()
    Remarks

    This supports the product infrastructure and is not intended to be used directly from 3rd party application code.

    View Source

    Dispose(bool)

    Releases the unmanaged resources used by the camera.

    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.

    Remarks

    This supports the product infrastructure and is not intended to be used directly from 3rd party application code.

    View Source

    ~CameraDeviceManager()

    Finalizes an instance of the Camera class.

    Declaration
    protected ~CameraDeviceManager()
    Remarks

    This supports the product infrastructure and is not intended to be used directly from 3rd party application code.

    View Source

    GetDeviceInformation()

    Gets the current camera device information. Retrieves all the supported camera devices and returns its information.

    Declaration
    public IEnumerable<CameraDeviceInformation> GetDeviceInformation()
    Returns
    Type Description
    IEnumerable<><CameraDeviceInformation>

    if camera device exist, returns list of CameraDeviceInformation; otherwise returns Enumerable.Empty.

    Remarks

    This method is only for backward compatibility. Please use SupportedDevices instead.

    View Source

    GetProductId(CameraDevice)

    Gets the product ID for given .

    Declaration
    public ushort GetProductId(CameraDevice device)
    Parameters
    Type Name Description
    CameraDevice device
    Returns
    Type Description
    ushort
    Remarks

    This supports the product infrastructure and is not intended to be used directly from 3rd party application code.

    View Source

    GetVendorId(CameraDevice)

    Gets the vendor ID for given .

    Declaration
    public ushort GetVendorId(CameraDevice device)
    Parameters
    Type Name Description
    CameraDevice device
    Returns
    Type Description
    ushort
    Remarks

    This supports the product infrastructure and is not intended to be used directly from 3rd party application code.

    Events

    View Source

    DeviceConnectionChanged

    An event that occurs when camera device is connected or disconnected.

    Declaration
    public event EventHandler<CameraDeviceConnectionChangedEventArgs> DeviceConnectionChanged
    Event Type
    Type Description
    EventHandler<><CameraDeviceConnectionChangedEventArgs>
    Remarks

    This supports the product infrastructure and is not intended to be used directly from 3rd party application code.

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX