Statusbar.getContextId

uint getContextId(string contextDescription)

Returns a new context identifier, given a description of the actual context. Note that the description is not shown in the UI.

Parameters

contextDescriptiontextual description of what context the new message is being used in

Returns

an integer id