Preparing search index...

    Class StreamFilterExposes User Data

    Filter for narrowing stream discovery results.

    Set properties to filter by camera type, location, or both. Unset properties (Generic, the default) match everything.

    let cameraModule = require('LensStudio:CameraModule');
    let filter = new CameraModule.StreamFilter();
    filter.type = CameraModule.CameraType.Rgb;
    filter.location = CameraModule.CameraLocation.Left;
    let streams = cameraModule.getSupportedStreams(filter);

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    location: CameraLocation

    Filter by camera physical location (Left, Right). Generic matches all.

    CameraModule.CameraLocation.Generic
    @exposesUserData

    Filter by camera sensor type (Rgb, Grayscale, Ir). Generic matches all.

    CameraModule.CameraType.Generic
    @exposesUserData

    Methods

    • Exposes User Data

      Returns the fully-qualified JavaScript type name for this class (for example, "Component.Camera"). This is a static accessor (no instance required) and returns the same value as the instance getTypeName().

      Returns string

    • Returns true if the object matches or derives from the passed in type.

      Parameters

      • type: string

      Returns boolean

    • Returns true if this object is the same as other. Useful for checking if two references point to the same thing.

      Parameters

      Returns boolean