sync method

Future<int> sync(
  1. int count,
  2. MesiboSyncListener listener
)

Implementation

Future<int> sync(int count,MesiboSyncListener listener) async{if(0== _session){_session= await Mesibo.getInternal().createReadSession(_profile,_flags,_threadId,_query) as int;MesiboReadSession._addSession(_session,this);}
   _syncListener= listener;return await Mesibo.getInternal().ReadSessionSync(_session,count) as int;}