Lens Scripting API
    Preparing search index...

    Class CameraRollMedia

    Represents media selected from the device camera roll.

    Hierarchy (View Summary)

    Index

    Properties

    mediaId: number

    Unique hash of the source media. Can be used to identify the media, for example as a key to store in maps.

    Type of media.

    resource: DynamicResource

    Dynamic resource for accessing the media content.

    Methods

    • 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

    • Checks if two CameraRollMedia objects represent the same media.

      Parameters

      Returns boolean