FAXL3: Presence Notification

From fringDocumentation

Jump to: navigation, search

Presence Notification

Below is a sample of online notification:

<ClientNotification>
	<User><![CDATA[USER_HASH_OF_THE_USER]]></User>
	<PresenceStatusNotification>
		<Locale>EN</Locale>
		<Status>online</Status>
		<SupportedFaxlVersions>
			<Version>3</Version>
		</SupportedFaxlVersions>
		<Nicnkname>USER_NICK</Nicnkname>
		<ClientType>SYMBIAN9_1</ClientType>
		<ClientVersion>3361600</ClientVersion>
		<ScreenInformation>
			<AddonContainer>
				<width>240</width>
				<height>234</height>
			</AddonContainer>
			<chatContainer>
				<width>236</width>
				<height>181</height>
			</chatContainer>
			<fontSize>23</fontSize>
		</ScreenInformation>
		<Services/>
	</PresenceStatusNotification>
</ClientNotification>

Some more details:

  • SupportedFaxlVersion - Indication of version of FAXL messages fring client can read
  • NickName - User's nick name
  • ClientType - Indication of OS type and version on mobile device
  • ClientVersion - fring version on mobile device
  • ScreenInformation - Information about screen size (width, height of each container)
    • fontSize - Unline it's name, fontSize does not represent the size of font. It represents the height of line (calculated by the height of a character)


Below is a sample of offline notification:

<ClientNotification>
	<User><![CDATA[zBNz0N1J2w0FyJcmaSVRXQ==]]</User>
	<PresenceStatusNotification>
		<Locale>EN</Locale>
		<Status>offline</Status>
		<Services/>
	</PresenceStatusNotification>
</ClientNotification>
Personal tools