VoidCallback

Introduction

The callback with no extra data.

Returned template

VoidCallback = void Function()

Return value details

This function has no return value

Code example

    int sdkAppID = 0;
    V2TimSDKListener sdkListener = V2TimSDKListener(
      onConnectSuccess: () {
      },
      onConnecting: () {
      },
      onKickedOffline: () {
      },
      onUserSigExpired: () {
      },
    );
    TencentImSDKPlugin.v2TIMManager.initSDK(
      sdkAppID: sdkAppID, 
      loglevel: LogLevelEnum.V2TIM_LOG_ALL, 
      listener: sdkListener, 
    );

results matching ""

    No results matching ""