Platforms to show: All Mac Windows Linux Cross-Platform

IMServiceMBS class   Deprecated

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Instant Message MBS MacCocoa Plugin 7.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
This item is deprecated and should no longer be used.
An IMService object represents a service available to a user through iChat, such as AIM, Jabber, and Bonjour.

Each IMService object represents one service available through iChat. Class methods such as allServices and serviceWithName will return these objects. Each object acts as the liaison to its single service, allowing you to access the individual user's global status, the user's list of acquaintances, and other information which can be integrated into your application.

You may want to subclass the InstantMessageMBS class to get events for changes.

All methods in this class will catch exceptions from Cocoa and raise a NSExceptionMBS instead. Using the message, name and reason properties you can see what was the reason for this exception. Please report if you find a method which does not handle exceptions correct.

Constants

Constant Value Description
IMPersonStatusAvailable 4 A status constant.
IMPersonStatusAway 3 A status constant.
IMPersonStatusIdle 2 A status constant.
IMPersonStatusNoStatus 5 The status constant for persons where the status is unknown. Mac OS X 10.5 only.
IMPersonStatusOffline 1 A status constant.
IMPersonStatusUnknown 0 A status constant.
IMServiceStatusDisconnected 1 A status constant.
IMServiceStatusLoggedIn 4 A status constant.
IMServiceStatusLoggedOut 0 A status constant.
IMServiceStatusLoggingIn 3 A status constant.
IMServiceStatusLoggingOut 2 A status constant.

This class has no sub classes.

Some methods using this class:

Some examples using this class:

Blog Entries

Release notes


The items on this page are in the following plugins: MBS MacCocoa Plugin.


IMRectangleInfo7MBS   -   InformixMBS


The biggest plugin in space...