Overview

Represents an attribute which can be attached to any roster subscrition. Each attribute consists of an id (22-byte eid) and an arbitrary string value. The users of the presence API should choose non-overlapping ids for their attributes.

Members

Name Type Description

attributeId

string

Returns the id of the attribute. Note that the id determines the type of the attribute specific to the application rather than the concrete value. Different subscriptions will have independent attributes with the same id.

value

string

Returns the value of the attribute or null if the value is not assigned.

Hierarchy

Examples

Below are examples in XML formats. All examples are shown with all inherited members. Quoting when required is part of the examples, but you must obviously populate with your own data.

XML Example

(show inherited members)

<obh:subscriptionAttribute xsi:type="obh:subscriptionAttribute" xmlns:obh="http://www.oracle.com/beehive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <attributeId>your_string_0</attributeId>
        <value>your_string_0</value>
</obh:subscriptionAttribute>

Referenced By Representaions