gecko/dom/icc/interfaces
Thomas Zimmermann 55ec72cfaf Bug 875710: Added getCardLockRetryCount to nsIIccProvider, r=vyang, sr=mounir
This patch adds getCardLockRetryCount to nsIIccProvider and its
implementations. This method allows callers to query the number
of remaining tries for unlocking a SIM-card lock. Supported locks
are 'pin', 'puk', 'pin2', 'puk2', 'nck', 'cck', and 'spck'. The
call returns a DOM request that returns the retry count in its
success handler, or signals an appropriate error.

Reading the retry count is an optional feature and may not be
supported for all lock types. In this case the DOM request receives
and error with the name GECKO_ERROR_NOT_SUPPORTED. For an invalid
lock type, the error name is GECKO_ERROR_GENERIC_FAILURE.

getCardLockRetryCount replaces retryCount in nsIDOMMobileConnection,
which is now deprecated.

--HG--
extra : rebase_source : d1d11612f836652dca85f7c701f09e7af962e3b7
2013-07-09 16:06:05 +02:00
..
Makefile.in Bug 818246 - Part 9: Move XPIDL_FLAGS to moz.build; r=gps 2013-03-11 22:05:00 -07:00
moz.build Bug 860585 - Part 1: Move cardLock API from mozMobileConnection to mozIccManager (IDL). r=allstars.chh. sr=sicking 2013-04-11 11:19:36 +08:00
nsIDOMIccCardLockErrorEvent.idl Bug 860585 - Part 1: Move cardLock API from mozMobileConnection to mozIccManager (IDL). r=allstars.chh. sr=sicking 2013-04-11 11:19:36 +08:00
nsIDOMIccManager.idl Bug 875710: Added getCardLockRetryCount to nsIIccProvider, r=vyang, sr=mounir 2013-07-09 16:06:05 +02:00
nsIIccProvider.idl Bug 875710: Added getCardLockRetryCount to nsIIccProvider, r=vyang, sr=mounir 2013-07-09 16:06:05 +02:00
nsINavigatorIccManager.idl Bug 859220 - Part 1: Separate mozIccManager from mozMobileConnection (IDL). r=allstars.chh. sr=sicking 2013-04-08 15:13:09 +08:00
SimToolKit.idl Bug 831630 - Part 1 : Interface updated to decode 'duration' TLV tag for Display Text, Setup Call commands. r=allstars.chh sr=sicking 2013-02-14 18:53:32 -08:00