172
edits
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
interface LogManager : EventTarget { | interface LogManager : EventTarget { | ||
DOMRequest add(LogEntry entry); | DOMRequest add(LogEntry entry); | ||
DOMRequest | DOMRequest delete(DOMString entryId); | ||
DOMRequest | DOMRequest clear(LogClearOptions coptions); | ||
DOMRequest getLast(LogOptions options); | DOMRequest getLast(LogOptions options); | ||
DOMRequest find(LogFindOptions options); | DOMRequest find(LogFindOptions options); | ||
attribute Function onentryadded; | attribute Function onentryadded; | ||
}; | |||
interface LogIterator { | |||
DOMRequest next(optional number n); | |||
readonly attribute boolean has_next; | |||
DOMRequest advance(count); | |||
}; | }; | ||
Line 28: | Line 34: | ||
attribute DOMString[] contactId; // ContactId | attribute DOMString[] contactId; // ContactId | ||
attribute DOMString[] tel; // Tel number if not already in contacts | attribute DOMString[] tel; // Tel number if not already in contacts | ||
attribute DOMString objectId; // Object id (for example SMS message) | attribute DOMString objectId; // Object id (for example SMS message on the SMS database) | ||
attribute DOMString service; // oneOf ['SMS', 'Telephony', 'Facebook', 'Twitter'] | attribute DOMString service; // oneOf ['SMS', 'Telephony', 'Facebook', 'Twitter'] | ||
attribute DOMString title; | attribute DOMString title; | ||
attribute DOMString description; | attribute DOMString description; | ||
attribute any extra; | attribute any extra; // Any extra data to be interpreted | ||
}; | }; | ||
edits