Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198
ChatKit.framework: Difference between revisions - iPhone Development Wiki

ChatKit.framework: Difference between revisions

From iPhone Development Wiki
(added iMessage note and de-orphaned CKMadridService)
(Add some iOS 7 information and documentation of FZListenerCapabilities)
Line 5: Line 5:
}}
}}
'''ChatKit''' is a framework designed for handling SMS, iMessage and MMS, and the views for these. iMessage was introduced in iOS 5 under the codename [[CKMadridService]] but has since been replaced and fully integrated into ChatKit.
'''ChatKit''' is a framework designed for handling SMS, iMessage and MMS, and the views for these. iMessage was introduced in iOS 5 under the codename [[CKMadridService]] but has since been replaced and fully integrated into ChatKit.
== Listener Capabilities ==
As of iOS 7, things a process can do with this framework is limited by [[imagent]], the backend daemon that processes calls from ChatKit.framework. Imagent uses a property called '''listener capabilities''' to determine what each process can do.
===Enum Declaration===
<source lang=c>
enum FZListenerCapabilities {
    Status = 1 << 0,
    Notifications = 1 << 1,
    Chats = 1 << 2,
    VC = 1 << 3,
    AVChatInfo = 1 << 4,
    AuxInput = 1 << 5,
    VCInvitations = 1 << 6,
    Lega = 1 << 7,
    Transfers = 1 << 8,
    Accounts = 1 << 9,
    BuddyList = 1 << 10,
    ChatObserver = 1 << 11,
    SendMessages = 1 << 12,
    MessageHistory = 1 << 13,
    IDQueries = 1 << 14,
    ChatCounts = 1 << 15
};
</source>
===Default Values for Some Common Processes===
<ul>
<li>'''com.apple.springboard'''<br />Status, Notifications, Accounts, Modify Read State, Chat Counts</li>
<li>'''com.apple.MobileSMS'''<br />Status, Notifications, Chats, Transfers, Accounts, ID Queries</li>
</ul>
{{Navbox Classes}}
{{Navbox Classes}}
{{Navbox Frameworks}}
{{Navbox Frameworks}}

Revision as of 10:17, 16 January 2014

ChatKit.framework
Private Framework
Availabile 3.0 – present
Class Prefix CK
Headers [headers.cynder.me]

ChatKit is a framework designed for handling SMS, iMessage and MMS, and the views for these. iMessage was introduced in iOS 5 under the codename CKMadridService but has since been replaced and fully integrated into ChatKit.

Listener Capabilities

As of iOS 7, things a process can do with this framework is limited by imagent, the backend daemon that processes calls from ChatKit.framework. Imagent uses a property called listener capabilities to determine what each process can do.

Enum Declaration

enum FZListenerCapabilities {
    Status = 1 << 0,
    Notifications = 1 << 1,
    Chats = 1 << 2,
    VC = 1 << 3,
    AVChatInfo = 1 << 4,
    AuxInput = 1 << 5,
    VCInvitations = 1 << 6,
    Lega = 1 << 7,
    Transfers = 1 << 8,
    Accounts = 1 << 9,
    BuddyList = 1 << 10,
    ChatObserver = 1 << 11,
    SendMessages = 1 << 12,
    MessageHistory = 1 << 13,
    IDQueries = 1 << 14,
    ChatCounts = 1 << 15
};

Default Values for Some Common Processes

  • com.apple.springboard
    Status, Notifications, Accounts, Modify Read State, Chat Counts
  • com.apple.MobileSMS
    Status, Notifications, Chats, Transfers, Accounts, ID Queries