Lens Scripting API

    Class LocationCloudStorageModule

    Provides access to location cloud storage depending upon the LocationCloudStorageOptions.

    
    

    Hierarchy (View Summary, Expand)

    • Asset
      • LocationCloudStorageModule
    Index

    Constructors

    Properties

    name: string

    The name of the Asset in Lens Studio.

    The active session used in the CloudStorageModule.

    uniqueIdentifier: string

    Methods

    • Returns the name of this object's type.

      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

    • Retrieves the specified LocationAsset.

      Parameters

      • persistedLocationId: string
      • onRetrievedLocation: (location: LocationAsset) => void
      • onError: (error: string) => void

      Returns void

    • Stores the specified LocationAsset.

      Parameters

      • location: LocationAsset
      • onStoredLocation: (persistedLocationId: string) => void
      • onError: (error: string) => void

      Returns void

    MMNEPVFCICPMFPCPTTAAATR