pjsua_buddy_info class final

This structure describes buddy info, which can be retrieved by calling #pjsua_buddy_get_info().

Inheritance
Implemented types
Available extensions

Constructors

pjsua_buddy_info.new()

Properties

address Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
buf_ Array<Char>
Internal buffer.
getter/setter pair
contact pj_str_t
Buddy's Contact, only available when presence subscription has been established to the buddy.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int
The buddy ID.
getter/setter pair
monitor_pres int
Flag to indicate that we should monitor the presence information for this buddy (normally yes, unless explicitly disabled).
getter/setter pair
pres_status pjsip_pres_status
Extended presence info.
getter/setter pair
rpid pjrpid_element
Extended RPID information about the person.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status int
Buddy's online status.
getter/setter pair
status_text pj_str_t
Text to describe buddy's online status.
getter/setter pair
sub_state int
If \a monitor_pres is enabled, this specifies the last state of the presence subscription. If presence subscription session is currently active, the value will be PJSIP_EVSUB_STATE_ACTIVE. If presence subscription request has been rejected, the value will be PJSIP_EVSUB_STATE_TERMINATED, and the termination reason will be specified in \a sub_term_reason.
getter/setter pair
sub_state_name Pointer<Char>
String representation of subscription state.
getter/setter pair
sub_term_code int
Specifies the last presence subscription termination code. This would return the last status of the SUBSCRIBE request. If the subscription is terminated with NOTIFY by the server, this value will be set to 200, and subscription termination reason will be given in the \a sub_term_reason field.
getter/setter pair
sub_term_reason pj_str_t
Specifies the last presence subscription termination reason. If presence subscription is currently active, the value will be empty.
getter/setter pair
uri pj_str_t
The full URI of the buddy, as specified in the configuration.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited