Options
All
  • Public
  • Public/Protected
  • All
Menu

Provide mobile analytics client functions

Hierarchy

  • AnalyticsClass

Index

Constructors

constructor

Methods

addPluggable

autoTrack

  • autoTrack(trackerType: any, opts: any): void

configure

  • configure(config?: any): any

disable

  • disable(): void

enable

  • enable(): void

getModuleName

  • getModuleName(): string

getPluggable

record

  • record(event: string | object, provider?: any, metrics?: EventMetrics): Promise<unknown>
  • Record one analytic event and send it to Pinpoint

    Parameters

    • event: string | object
    • Optional provider: any
    • Optional metrics: EventMetrics

    Returns Promise<unknown>

    • A promise which resolves if buffer doesn't overflow

removePluggable

  • removePluggable(providerName: any): void

startSession

  • startSession(provider?: string): Promise<unknown>

stopSession

  • stopSession(provider?: string): Promise<unknown>

updateEndpoint

  • updateEndpoint(attrs: any, provider?: any): Promise<unknown>