Overview

A contact method contains information about a specific method of contacting a presentity. A presentity may have several ContactMethods, it is up to the viewer to choose the most appropriate ContactMethod.

Members

Name Type Required Description

URI

string

Gets the unique URI of this ContactMethod. This URI may be used in some application specific way to attempt communication with the endpoint represented by this ContactMethod. No two ContactMethods for the same presentity may have the same URI.

activeConnectionIds

string[]

Gets the identifiers for any active PresenceConnections to this ContactMethod. Because connection identifiers are assigned by the updating application, they may contain information useful for application-specific purposes.

The returned list is ordered based on the most recent activity. The connection from which the presence service received the most recent update will be first in the list.

creationTimestamp

long

Returns the time at which this ContactMethod was created. Typically, this is the time at which the server received the first update for this ContactMethod.

note

note

Gets the note associated with ContactMethod. The note gives a human readable comment about this ContactMethod

priority

int

Gets the priority of this ContactMethod in relation to any other ContactMethods for the same presentity. A higher numeric value indicates a higher priority. Zero is considered "normal" priority.

status

contactReachabilityStatus

Gets the status of this ContactMethod. The status may be used determine if the presentity is open for communication via this ContactMethod.

statusTimestamp

long

Returns the timestamp of the most recent status change of this ContactMethod

uriScheme

string

Gets the scheme component of this ContactMethod's URI. The scheme defines the type of endpoint which this ContactMethod represents. This method is functionally equivalent to: new java.net.URI(getURI()).getScheme()

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:contactMethod xsi:type="obh:contactMethod" xmlns:obh="http://www.oracle.com/beehive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <URI>your_string_0</URI>
        <activeConnectionIds>your_string_0</activeConnectionIds>
        <activeConnectionIds>your_string_1</activeConnectionIds>
        <activeConnectionIds>your_string_2</activeConnectionIds>
        <creationTimestamp>your_long_0</creationTimestamp>
        <note>your_note_0</note>
        <priority>your_int_0</priority>
        <status>your_contactReachabilityStatus_0</status>
        <statusTimestamp>your_long_0</statusTimestamp>
        <uriScheme>your_string_0</uriScheme>
</obh:contactMethod>

Referenced By Representaions