Skip to main content

ICNInstantMessageAddress

Trait ICNInstantMessageAddress 

Source
pub trait ICNInstantMessageAddress: PNSObject {
    // Provided methods
    fn m_init_with_username_service(
        &mut self,
        username: NSString,
        service: NSString,
    ) -> Self
       where Self: Sized + FromId { ... }
    fn p_service(&self) -> NSString { ... }
    fn p_username(&self) -> NSString { ... }
    fn m_localized_string_for_key(key: NSString) -> NSString { ... }
    fn m_localized_string_for_service(service: NSString) -> NSString { ... }
}
Expand description

A trait containing all the methods for CNInstantMessageAddress

Provided Methods§

Source

fn m_init_with_username_service( &mut self, username: NSString, service: NSString, ) -> Self
where Self: Sized + FromId,

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

Source

fn p_service(&self) -> NSString

The service type of the instant message address.

Source

fn p_username(&self) -> NSString

The username of the instant message address.

Source

fn m_localized_string_for_key(key: NSString) -> NSString

Returns a string containing the localized property name.

Source

fn m_localized_string_for_service(service: NSString) -> NSString

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§