init(username:service:)
Returns a Cninstantmessageaddress object initialized with the specified user name and service.
Declaration
init(username: String, service: String)Parameters
- username:
The user name with which to initialize the Cninstantmessageaddress object.
- service:
The service with which to Initialize the Cninstantmessageaddress object.
Return Value
The initialized CNInstantMessageAddress object with the specified user name and service.
Discussion
User name and service are required to initialize CNInstantMessageAddress object.