Properties
-
hashCode
→ int
-
The hash code for this object.
read-only, inherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a non-existent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
createAudioMessage({required String sessionId, required NIMSessionType sessionType, required String filePath, required int fileSize, required int duration, String? displayName, NIMNosScene nosScene = NIMNosScenes.defaultIm})
→ Future<NIMResult<NIMMessage>>
-
Create an audio message.
-
createCustomMessage({required String sessionId, required NIMSessionType sessionType, String? content, NIMMessageAttachment? attachment, NIMCustomMessageConfig? config})
→ Future<NIMResult<NIMMessage>>
-
Create a custom message.
-
createEmptyMessage({required String sessionId, required NIMSessionType sessionType, required int timestamp})
→ Future<NIMResult<NIMMessage>>
-
Create an empty message.
-
createFileMessage({required String sessionId, required NIMSessionType sessionType, required String filePath, int? fileSize, required String displayName, NIMNosScene nosScene = NIMNosScenes.defaultIm})
→ Future<NIMResult<NIMMessage>>
-
Create a file (document) message.
-
createImageMessage({required String sessionId, required NIMSessionType sessionType, required String filePath, required int fileSize, String? displayName, NIMNosScene nosScene = NIMNosScenes.defaultIm})
→ Future<NIMResult<NIMMessage>>
-
Create an image message.
-
createLocationMessage({required String sessionId, required NIMSessionType sessionType, required double latitude, required double longitude, required String address})
→ Future<NIMResult<NIMMessage>>
-
Create a location message.
-
createTextMessage({required String sessionId, required NIMSessionType sessionType, required String text})
→ Future<NIMResult<NIMMessage>>
-
Create a text message.
-
createTipMessage({required String sessionId, required NIMSessionType sessionType})
→ Future<NIMResult<NIMMessage>>
-
Create a tip message.
-
createVideoMessage({required String sessionId, required NIMSessionType sessionType, required String filePath, int? fileSize, required int duration, required int width, required int height, required String displayName, NIMNosScene nosScene = NIMNosScenes.defaultIm})
→ Future<NIMResult<NIMMessage>>
-
Create a video message.