• Represents a callback used to initialize and start device and behavioral data collection.

Hierarchy (View Summary)

Constructors

Properties

payload: Callback

The raw payload returned by OpenAM

Methods

  • Gets the value of the specified input element, or the first element if selector is not provided.

    Parameters

    • selector: string | number = 0

      The index position or name of the desired element

    Returns unknown

  • Sets the value of the specified input element, or the first element if selector is not provided.

    Parameters

    • value: unknown
    • selector: string | number | RegExp = 0

      The index position or name of the desired element

    Returns void

  • Gets the value of the specified output element, or the first element if selector is not provided.

    Parameters

    • selector: string | number = 0

      The index position or name of the desired element

    Returns unknown

  • Gets the value of the first output element with the specified name or the specified default value.

    Type Parameters

    • T

    Parameters

    • name: string

      The name of the desired element

    • defaultValue: T

    Returns T

  • Get callback's initialization config settings

    Returns
        | Record<string, unknown>
        | {
            envId: string;
            behavioralDataCollection: boolean;
            disableTags: boolean;
            universalDeviceIdentification: boolean;
            consoleLogEnabled: boolean;
            deviceAttributesToIgnore: string[];
            customHost: string;
            lazyMetadata: boolean;
            deviceKeyRsyncIntervals: number;
            enableTrust: boolean;
            disableHub: boolean;
            agentIdentification?: boolean;
            agentTimeout?: number;
            agentPort?: number;
        }

    • Record<string, unknown>
    • {
          envId: string;
          behavioralDataCollection: boolean;
          disableTags: boolean;
          universalDeviceIdentification: boolean;
          consoleLogEnabled: boolean;
          deviceAttributesToIgnore: string[];
          customHost: string;
          lazyMetadata: boolean;
          deviceKeyRsyncIntervals: number;
          enableTrust: boolean;
          disableHub: boolean;
          agentIdentification?: boolean;
          agentTimeout?: number;
          agentPort?: number;
      }
      • envId: string

        Required parameter

      • behavioralDataCollection: boolean
      • disableTags: boolean
      • universalDeviceIdentification: boolean
      • consoleLogEnabled: boolean

        Deprecated parameters

      • deviceAttributesToIgnore: string[]
      • customHost: string
      • lazyMetadata: boolean
      • deviceKeyRsyncIntervals: number
      • enableTrust: boolean
      • disableHub: boolean
      • OptionalagentIdentification?: boolean
      • OptionalagentTimeout?: number
      • OptionalagentPort?: number