Date and time of the first sent/received message
All messages that were sent or received
This is the other communicating party's display name (if sent)
Keep in mind that this property is only set after the first remote message was processed!
This is the uri that was requested by the other communicating party
e.g. if ng112-js is used as PSAP, this would be the SIP address that was requested by the mobile device
This address can potentially differ from what ng112-js is using to register at the SIP proxy
Keep in mind that this property is only set after the first remote message was processed!
Current conversation's state
This is the target device we are communicating with -> the other communicating party e.g. if ng112-js is used as PSAP, this would be the SIP address of a mobile device
Registers a new listener for conversation state changes
Callback function that is called each time the conversation's state changes
This function is only used internally and should not be called from outside the library
Unregisters a previously registered conversation state listener
Callback function that is called each time the conversation's state changes
Sends a text message
Starts the conversation
This is basically a convenience function on top of sendMessage
It automatically sets the correct message type "START"
and defaults to text message "Start emergency call"
Ends the conversation
This is basically a convenience function on top of sendMessage
It automatically sets the correct message type "STOP"
and defaults to text message "Stop emergency call"
Creates a conversation out of an already existing SIP message (e.g. ETSI START message)
Generated using TypeDoc
A unique conversation id
according to spec, 30 characters is the longest allowed string