OnSendMessageProgressCallback

Introduction

The callback of the updating of file uploading progress.

Returned template

OnSendMessageProgressCallback = void Function(
V2TimMessage message,
int progress
)

Return value details

name type description
message V2TimMessage The message instance that are uploading.
progress int The progress of uploading, from 0 to 100.

Code example

    V2TimGroupListener listener = V2TimGroupListener(
      onSendMessageProgress: (V2TimMessage message, int progress) {
      }
    );
    TencentImSDKPlugin.v2TIMManager.addGroupListener(listener: listener);

results matching ""

    No results matching ""