MesiboReadSession constructor

MesiboReadSession(
  1. MesiboProfile? profile,
  2. MesiboMessageListener listener
)

Implementation

class MesiboReadSession{static const int READSESSION_FLAG_READRECEIPT= 1;static const int READSESSION_FLAG_FIFO= 4;static const int READSESSION_FLAG_SUMMARY= 0x10;static const int READSESSION_FLAG_NOMESSAGES= 0x20;static const int READSESSION_FLAG_THREADED= 0x40;static const int READSESSION_FLAG_WITHFILES= 0x80;static const int READSESSION_FLAG_DELETESESSION= 0x200;static const int READSESSION_FLAG_RESETSESSION= 0x400;static const int READSESSION_FLAG_MISSEDCALLS= 0x1000;static const int READSESSION_FLAG_INCOMINGCALLS= 0x2000;static const int READSESSION_FLAG_OUTGOINGCALLS= 0x4000;static const int MESSAGE_COUNT_ALL=-1;static const int MESSAGE_COUNT_SENT=-2;static const int MESSAGE_COUNT_RECEIEVED=-3;static const int MESSAGE_COUNT_FAILED=-4;static final Map<int,MesiboReadSession> objMap= HashMap();int _session,_flags,_threadId;String? _query;MesiboMessageListener _listener;MesiboSyncListener? _syncListener;MesiboProfile? _profile;MesiboReadSession(MesiboProfile? profile,MesiboMessageListener listener):
     _session= 0,_flags= 0,_threadId= 0,_query= null,_profile= profile,_listener= listener,_syncListener= null;