Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "impl/ZegoExpressEngineImpl"

Index

Type aliases

ZegoAnyCallback

ZegoAnyCallback: (...args: any[]) => any

Type declaration

    • (...args: any[]): any
    • Parameters

      • Rest ...args: any[]

      Returns any

Variables

Const Prefix

Prefix: string = ZegoExpressNativeEngineMoudle.prefix()

Const ZegoEvent

ZegoEvent: { addEventListener: (event: string, callback: Function) => void; removeEventListener: (event: string, callback?: Function) => void } = uni.requireNativePlugin('globalEvent')

Type declaration

  • addEventListener: (event: string, callback: Function) => void
      • (event: string, callback: Function): void
      • Parameters

        • event: string
        • callback: Function

        Returns void

  • removeEventListener: (event: string, callback?: Function) => void
      • (event: string, callback?: Function): void
      • Parameters

        • event: string
        • Optional callback: Function

        Returns void

Const ZegoExpressNativeEngineMoudle

ZegoExpressNativeEngineMoudle: { callMethod: (params: {}, callback: (res: any) => void) => void; prefix: () => string } = uni.requireNativePlugin('zego-ZegoExpressUniAppSDK_ZegoExpressUniAppEngine')

Type declaration

  • callMethod: (params: {}, callback: (res: any) => void) => void
      • (params: {}, callback: (res: any) => void): void
      • Parameters

        • params: {}
        • callback: (res: any) => void
            • (res: any): void
            • Parameters

              • res: any

              Returns void

        Returns void

  • prefix: () => string
      • (): string
      • Returns string

Let engine

engine: ZegoExpressEngineImpl | undefined

Generated using TypeDoc