ChatViewModel  class 
 
    Methods 
    
        
  addListener (VoidCallback listener → void 
   
  
 
  Register a closure to be called when the object changes.
  inherited 
 
        
  addMessagePin (NIMMessage  message , {String ?ext → void 
   
  
 
  
  
 
        
  clearChattingAccount ()
    → void 
    
  
 
  
  
 
        
  collectMessage (NIMMessage  message → void 
   
  
 
  
  
 
        
  deleteMessage (ChatMessage  message → void 
   
  
 
  delete local message
  
 
        
  dispose ()
    → void 
    
  
 
  Discards any resources used by the object. After this is called, the
object is not in a usable state and should be discarded (calls to
addListener  will throw after the object is disposed).
  override 
 
        
  downloadAttachment (NIMMessage  message , bool thumb → void 
   
  
 
  
  
 
        
  fetchMessageListBothDirect (NIMMessage  anchor → dynamic 
   
  
 
  
  
 
        
  fetchMessageRemoteNewer (NIMMessage  anchor → dynamic 
   
  
 
  
  
 
        
  fetchMessageRemoteOlder (NIMMessage  anchor , bool updateCredible → dynamic 
   
  
 
  
  
 
        
  fetchMoreMessage (QueryDirection  direction → dynamic 
   
  
 
  
  
 
        
  forwardMessage (NIMMessage  message , String sessionId , NIMSessionType  sessionType → void 
   
  
 
  
  
 
        
  getAnchor (QueryDirection  direction → NIMMessage 
   
  
 
  
  
 
        
  initFetch (NIMMessage?  anchor → void 
   
  
 
  
  
 
        
  noSuchMethod (Invocation invocation → dynamic 
   
  
 
  Invoked when a nonexistent method or property is accessed.
  inherited 
 
        
  notifyListeners ()
    → void 
    
  
 
  Call all the registered listeners.
  inherited 
 
        
  removeListener (VoidCallback listener → void 
   
  
 
  Remove a previously registered closure from the list of closures that are
notified when the object changes.
  inherited 
 
        
  removeMessagePin (NIMMessage  message , {String ?ext → void 
   
  
 
  
  
 
        
  resetTyping ()
    → void 
    
  
 
  
  
 
        
  revokeMessage (ChatMessage  message → Future <NIMResult<void >  >  
   
  
 
  撤回消息
  
 
        
  sendAudioMessage (String filePath , int fileSize , int duration , {NIMMessage?  replyMsg → void 
   
  
 
  
  
 
        
  sendImageMessage (String filePath , int fileSize , {NIMMessage?  replyMsg → void 
   
  
 
  
  
 
        
  sendInputNotification (bool isTyping → void 
   
  
 
  
  
 
        
  sendMessage (NIMMessage  message , {NIMMessage?  replyMsg , bool resend  = false → void 
   
  
 
  
  
 
        
  sendMessageP2PReceipt (NIMMessage  message → void 
   
  
 
  
  
 
        
  sendTeamMessageReceipt (ChatMessage  message → void 
   
  
 
  
  
 
        
  sendTextMessage (String text , {NIMMessage?  replyMsg , List <String  ?pushList → void 
   
  
 
  
  
 
        
  sendVideoMessage (String filePath , int duration , int width , int height , String displayName , {NIMMessage?  replyMsg → void 
   
  
 
  
  
 
        
  setChattingAccount ()
    → void 
    
  
 
  
  
 
        
  setNIMMessageListener ()
    → void 
    
  
 
  
  
 
        
  toString ()
    → String  
    
  
 
  A string representation of this object.
  inherited