Protocol

IMServicePlugInInstantMessagingSupport

Implementing this protocol on your service plug-in's principal class indicates that your service supports one-to-one instant messaging If you implement this protocol, you must also include IMServiceCapabilityInstantMessagingSupport as a value for the IMServiceCapabilities key in the Info.plist file of your service plug-in.

Overview

IMServicePlugInInstantMessagingSupport and IMServiceApplicationInstantMessagingSupport are paired protocols. If your service plug-in's principal class implements the IMServicePlugInInstantMessagingSupport protocol, the client object passed to your plug-in during initialization will implement the IMServiceApplicationInstantMessagingSupport protocol.

Symbols

Sending Messages

func send(IMServicePlugInMessage!, toHandle: String!)
Required.

Sends a message to a specific handle.

func userDidStartTyping(toHandle: String!)
Required.

Indicates that the user started typing a message to a specific handle from the input line.

func userDidStopTyping(toHandle: String!)
Required.

Indicates that the user cleared the input line after typing, instead of sending the message.