AgoraRtmDownloadMediaToMemoryBlock Block Reference

Declared in AgoraRtmKit.h

Block Definition

AgoraRtmDownloadMediaToMemoryBlock

Returns the result of the downloadMediaToMemory method call.

  • requestId: The unique ID of the download request.
  • data: The downloaded file or image.
  • errorCode: See AgoraRtmDownloadMediaErrorCode.
  • typedef void (^AgoraRtmDownloadMediaToMemoryBlock) (long long, requestId , NSData *data, AgoraRtmDownloadMediaErrorCode errorCode)

    Declared In

    AgoraRtmKit.h