[Bug 24903] Credit info interface
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Nov 5 13:17:18 CET 2009
http://bugs.freedesktop.org/show_bug.cgi?id=24903
Simon McVittie <simon.mcvittie at collabora.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
Status Whiteboard| |specmeet?
--- Comment #1 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2009-11-05 04:17:18 PST ---
I can't find a SIP RFC for this, although one RFC suggests that INFO messages
can be used (in an unspecified way, so presumably not machine-readably) for
balance information. Text of the Maemo interface follows:
This interface extends the core Connection interface to provide credit balance
information.
As an example, property values of Balance=1234, BalanceScale=2 and
Currency=USD, can be used by UI to format the credit display like
"12.34 USD".
readable property Balance : u
Expressed as a fixed point number with decimal scale defined by the
BalanceScale property.
E.g. a Balance value of 1234 with BalanceScale of 2 represents 12.34
in the currency unit given by the value Currency.
readable property Currency : s
Currency string that should be used when displaying balance in three
letter currecy code. E.g. "EUR", "USD", or "JPY".
readable property BalanceScale : u
The decimal scale for the fixed point value of the Balance property,
defining the number of rightmost decimal digits from the integer
value, which form the fractional part of the resulting currently value.
signal BalanceChanged : u, u, s
Emitted when the balance changes. All properties are provided as
arguments.
Balance : u
BalanceScale : u
Currency : s
With some editorial changes, this interface looks fine to me.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list