The user's device features are available in the headers currently. The client_features value of the X-MXit-Location header contains the long integer representation of his Client Features.
0x1 | Forms | 0x100 | Play audio | 0x10000 | Custom emoticons |
0x2 | File transfer | 0x200 | Encryption | 0x20000 | Alert profiles |
0x4 | Camera | 0x400 | Voice recorder | 0x40000 | Extended markup (font size changes) |
0x8 | Commands | 0x800 | Scalable vector graphics | 0x100000 | No gateways |
0x10 | Send SMS | 0x1000 | Inline images | 0x200000 | No avatars |
0x20 | Local file access | 0x2000 | Message markup | 0x400000 | Gaming |
0x40 | Midp2 | 0x4000 | Vibes | 0x800000 | GamingUpdate |
0x80 | Skins | 0x8000 | Select contact | 0x20000000 | Typing indication support |
Markup should only be interpreted if the flags parameter of an incoming message has the following bit set: 0x200 - Message may contain markup.
Therefore to check if he has Graphics Markup - check if the value 0x400000 (hex) is contained in his client_features (long int).