Edit

Share via


RealTimeAddress Class

Definition

Defines the structure identifying a session target.

public ref class RealTimeAddress : IEquatable<Microsoft::Rtc::Signaling::RealTimeAddress ^>
public class RealTimeAddress : IEquatable<Microsoft.Rtc.Signaling.RealTimeAddress>
type RealTimeAddress = class
    interface IEquatable<RealTimeAddress>
Public Class RealTimeAddress
Implements IEquatable(Of RealTimeAddress)
Inheritance
RealTimeAddress
Implements

Constructors

RealTimeAddress(String, String, String)

Creates a new instance of RealTimeAddress.

RealTimeAddress(String, String)

Creates a new instance of RealTimeAddress.

RealTimeAddress(String)

Creates a new instance of RealTimeAddress.

Properties

EndpointId

Gets the endpoint identifier for the target.

IsEndpointTarget

Gets the value that indicates whether this address targets a specific endpoint.

IsGruu

Gets the value indicating if the URI passed is a GRUU URI.

IsPhone

Gets the value indicating if the URI passed represents a phone device.

PhoneUri

Gets the tel URI of this target. This is null if the target is not phone.

Uri

Gets the sip URI of this target. This can be null if the tel URI was given that could not converted to sip URI due to missing default domain.

UserAtHost

Get the user@host portion of the sip URI, if available. If the sip URI is not available, the value returned is String.Empty.

Methods

Equals(Object)

Returns true if the current RealTimeAddress is equal to the passed RealTimeAddress. It compares the URI string and epid.

Equals(RealTimeAddress)

Returns true if the current RealTimeAddress is equal to the passed RealTimeAddress. It compares the URI string and epid.

GetHashCode()

Generates a hash code for the realTime Address object based on URI string and epid.

ToString()

Obtains the string representation of the object.

Operators

Equality(RealTimeAddress, Object)

Returns true if the current RealTimeAddress is equal to the passed RealTimeAddress. It compares the URI string and epid.

Inequality(RealTimeAddress, Object)

Returns true if the current RealTimeAddress is not equal to the passed RealTimeAddress. Compares the URI string and epid.

Extension Methods

GetUriWithoutSipPrefix(RealTimeAddress)

Applies to