Bookmark & BookmarkStatus ¶
Bookmark represents an identifier for a rule inside a topic.
See also API doc: Bookmark.
BookmarkStatus allows you to read and write the status of a
and to know when it is reached.
Bookmark can be disabled: the corresponding rule will not be matched
and the robot will not say the proposal from this rule either.
See also API doc: BookmarkStatus.
How to use it¶
Get all the bookmarks contained in a
Controlling a Bookmark status¶
BookmarkStatus from a
BookmarkStatus will be able to read and write the specified
How to know when a bookmark is reached¶
BookmarkStatus allows you to add a listener to react when a
Removing bookmark status related listeners¶
qiChatbot.bookmarkStatus(bookmark) returns a new instance of a
BookmarkStatus at every call.
To remove a listener on a
BookmarkStatus, it is necessary to keep the
BookmarkStatus in a variable and reuse
it when removing listeners.