Internal Interface

Hierarchy

  • IInternalOfflineSupport

Properties

batch?: ((arr) => string)

Type declaration

    • (arr): string
    • Batch an array of strings into one string

      Parameters

      • arr: string[]

        array of strings

      Returns string

      a string represent all items in the given array

createPayload: ((data) => IPayloadData)

Type declaration

getUrl: (() => string)

Type declaration

    • (): string
    • Get current endpoint url

      Returns string

      endpoint

serialize?: ((input, convertUndefined?) => string)

Type declaration

    • (input, convertUndefined?): string
    • Serialize an item into a string

      Parameters

      • input: ITelemetryItem

        telemetry item

      • Optional convertUndefined: any

        convert undefined to a custom-defined object

      Returns string

      Serialized string

shouldProcess?: ((evt) => boolean)

Type declaration

    • (evt): boolean
    • If the item should be processed by offline channel

      Parameters

      Returns boolean

      should process or not

Generated using TypeDoc