SMUriAddress Class Reference

Inherits from NSObject
Declared in SMUriAddress.h

  userName

The username to include in this address.

@property (strong, nonatomic, nonnull) NSString *userName

Availability

2.0.0

Discussion

The username to include in this address.

Declared In

SMUriAddress.h

  domain

The network domain to include in this address.

@property (strong, nonatomic, nonnull) NSString *domain

Availability

2.0.0

Discussion

The network domain to include in this address.

Declared In

SMUriAddress.h

– initWithPrimaryContact:

Constructor method for UriAddress.

- (nonnull SMUriAddress *)initWithPrimaryContact:(nonnull NSString *)primaryContact

Parameters

primaryContact

address of user

Return Value

UriAddress instance

Availability

2.0.0

Discussion

Constructor method for UriAddress.

Declared In

SMUriAddress.h

– initWithUsername:withDomain:

Constructor method for UriAddress.

- (nonnull SMUriAddress *)initWithUsername:(nonnull NSString *)userName withDomain:(nullable NSString *)domain

Parameters

userName

name of the user

domain

domain of the user

Return Value

UriAddress instance

Availability

2.0.0

Discussion

Constructor method for UriAddress.

Declared In

SMUriAddress.h

+ uriAddressWithUsername:withDomain:

Static constructor method for UriAddress.

+ (nonnull SMUriAddress *)uriAddressWithUsername:(nonnull NSString *)userName withDomain:(nullable NSString *)domain

Parameters

userName

name of the user

domain

domain of the user

Return Value

UriAddress instance

Availability

3.0.1

Discussion

Static constructor method for UriAddress.

Declared In

SMUriAddress.h

– getUri

Retrieve the URI of an address.

- (nonnull NSString *)getUri

Return Value

NSString format of xxx\@yyyy, where xxx is the username or phonenumber and yyy is the domain

Availability

2.0.0

Discussion

Retrieve the URI of an address.

Declared In

SMUriAddress.h