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 |
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.
- property Handle as Integer
- 9 methods
- method infoForAllScreenNames as dictionary()
- method infoForPreferredScreenNames as dictionary()
- method infoForScreenName(name as string) as dictionary
- method LocalizedName as String
- method LocalizedShortName as String
- method Name as String
- method peopleWithScreenName(screenName as string) as ABPersonMBS()
- method screenNamesForPerson(person as ABPersonMBS) as string()
- method Status as Integer
- 20 shared methods
- shared method imageFileForStatus(status as Integer) as folderitem
- shared method imageNameForStatus(status as Integer) as string
- shared method imageURLForStatus(status as Integer) as string
- shared method IMCapabilityAudioConference as string
- shared method IMCapabilityDirectIM as string
- shared method IMCapabilityFileSharing as string
- shared method IMCapabilityFileTransfer as string
- shared method IMCapabilityText as string
- shared method IMCapabilityVideoConference as string
- shared method IMPersonAVBusyKey as string
- shared method IMPersonCapabilitiesKey as string
- shared method IMPersonEmailKey as string
- shared method IMPersonFirstNameKey as string
- shared method IMPersonIdleSinceKey as string
- shared method IMPersonLastNameKey as string
- shared method IMPersonPictureDataKey as string
- shared method IMPersonScreenNameKey as string
- shared method IMPersonServiceNameKey as string
- shared method IMPersonStatusKey as string
- shared method IMPersonStatusMessageKey as string
- 11 constants
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:
- InstantMessageMBS.allServices as IMServiceMBS()
- InstantMessageMBS.serviceWithName(name as string) as IMServiceMBS
Some examples using this class:
Blog Entries
Release notes
- Version 20.5
- Deprecated IMServiceMBS class.
The items on this page are in the following plugins: MBS MacCocoa Plugin.
IMRectangleInfo7MBS - InformixMBS