Interface IPropertyStorageOverride

The IPropertyStorageOverride interface provides a custom interface for storing internal SDK properties - otherwise they are stored as cookies. You need this interface when you intend to run auto collection for common properties, or when you log a session in a non browser environment.

Hierarchy

  • IPropertyStorageOverride

Properties

getProperty: ((key) => string)

Type declaration

    • (key): string
    • A function that gets a value for a given key.

      Parameters

      • key: string

        The key for which the value must be fetched.

      Returns string

setProperty: ((key, value) => void)

Type declaration

    • (key, value): void
    • A function for passing key value pairs to be stored.

      Parameters

      • key: string

        The key for the key value pair.

      • value: string

        The value for the key value pair.

      Returns void

Generated using TypeDoc