Preparing search index...

    Class StreamConfigOverridesExposes User Data

    Per-shot overrides for CameraModule.CaptureSession#capture.

    Only the properties listed here are overridable on a per-capture basis. Other StreamConfig fields (stream, tuning parameters) are fixed at session start and cannot be changed per-shot.

    let overrides = new CameraModule.StreamConfigOverrides();
    overrides.crop = Rect.create(-0.5, 0.5, -0.5, 0.5);
    let frame = await captureSession.capture(overrides);

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    crop: Rect

    Per-shot snapshot crop region in [-1, 1] normalized image space. The full image spans [-1, 1] on each axis (so a centered 50% crop is left=-0.5, right=0.5, bottom=-0.5, top=0.5). Null means "use the session's default crop (or no crop)".

    null
    @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