Class

CNInstantMessageAddress

An immutable object representing an instant message address for the contact.

Declaration

@interface CNInstantMessageAddress : NSObject

Overview

Use the methods and properties of CNInstantMessageAddress to identify instant messaging addresses. Some instant message services, such as Facebook and Skype are predefined in this class. You can also specify your own instant message service using the initWithUsername:service: method.

CNInstantMessageAddress objects are thread-safe, and you may access their properties from any thread of your app.

Topics

Creating an Instant Message Address

- initWithUsername:service:

Returns a CNInstantMessageAddress object initialized with the specified user name and service.

Getting the Address Information

service

The name of the instant message address service.

username

The user name for instant message service address.

Getting Localized Address Information

+ localizedStringForKey:

Returns a string containing the localized property name.

CNInstantMessageAddressUsernameKey

Instant message address username key.

CNInstantMessageAddressServiceKey

Instant message address service key.

Getting Localized Service Names

+ localizedStringForService:

Returns a string containing the localized name of the specified service.

CNInstantMessageServiceAIM

Instant message service for AIM.

CNInstantMessageServiceFacebook

Instant message service for Facebook.

CNInstantMessageServiceGaduGadu

Instant message service for Gadu Gadu.

CNInstantMessageServiceGoogleTalk

Instant message service for Google Talk.

CNInstantMessageServiceICQ

Instant message service for ICQ.

CNInstantMessageServiceJabber

Instant message service for Jabber.

CNInstantMessageServiceMSN

Instant message service for MSN.

CNInstantMessageServiceQQ

Instant message service for QQ.

CNInstantMessageServiceSkype

Instant message service for Skype.

CNInstantMessageServiceYahoo

Instant message service for Yahoo.

Relationships

Inherits From

See Also

Addresses

CNPostalAddress

An immutable representation of the postal address for a contact.

CNMutablePostalAddress

A mutable representation of the postal address for a contact.