WebAPI/LogAPI: Difference between revisions

Line 19: Line 19:
     DOMRequest clear(LogClearOptions coptions);
     DOMRequest clear(LogClearOptions coptions);
     // Entries are always returned ordered by timestamp
     // Entries are always returned ordered by timestamp
     DOMRequest find(LogFindOptions options);
     DOMRequest find(LogFindOptions options,unsigned long maxRecords, unsigned long chunkSize);
          
          
   attribute Function onentryadded;
   attribute Function onentryadded;
Line 28: Line 28:
   attribute boolean hasMore;
   attribute boolean hasMore;
   attribute unsigned long position;
   attribute unsigned long position;
  attribute LogEntry[] values;
};
};


dictionary LogFindOptions {
dictionary LogFindOptions {
  attribute unsigned long maxRecords;
   attribute DOMString contactId;
   attribute DOMString contactId;
   attribute Date from;
   attribute Date from;
172

edits