NIMAvatarForMessageNotifierProvider typedef

NIMAvatarForMessageNotifierProvider = Future<UserInfoProviderAvatarInfo?> Function(NIMSessionType? sessionType, String? sessionId)

为云信通知栏提醒提供头像(个人、群组) 一般从本地图片缓存中获取,若未下载或本地不存在,请返回默认本地头像(可以返回默认头像资源ID对应的Bitmap)

Implementation

typedef NIMAvatarForMessageNotifierProvider
    = Future<UserInfoProviderAvatarInfo?> Function(
        NIMSessionType? sessionType, String? sessionId);