Options
All
  • Public
  • Public/Protected
  • All
Menu

@amplitude/react-native

Index

Type aliases

Event

Middleware

Middleware: (payload: MiddlewarePayload, next: MiddlewareNext) => void

A function to run on the Event stream (each logEvent call)

param

The event and extra data being sent

param

Function to run the next middleware in the chain, not calling next will end the middleware chain

Type declaration

    • (payload: MiddlewarePayload, next: MiddlewareNext): void
    • Parameters

      • payload: MiddlewarePayload
      • next: MiddlewareNext

      Returns void

Plan

Plan: { branch?: string; source?: string; version?: string; versionId?: string }

Tracking plan

Type declaration

  • Optional branch?: string

    The tracking plan branch name e.g. "main"

  • Optional source?: string

    The tracking plan source e.g. "web", "mobile"

  • Optional version?: string

    The tracking plan version e.g. "1", "15"

  • Optional versionId?: string

    The tracking plan version Id e.g. "9ec23ba0-275f-468f-80d1-66b88bff9529"

Generated using TypeDoc