MockAccountManager
open classMockAccountManager
A mock android.accounts.AccountManager
class.
Provided for use by android.test.IsolatedContext
.
Summary
Public methods | |
---|---|
open static AccountManager! |
newMockAccountManager(context: Context!) Create a new mock |
Public methods
newMockAccountManager
Added in API level Baklava
open static funnewMockAccountManager(context: Context!): AccountManager!
Deprecated: Deprecated in Java.
Create a new mock AccountManager
instance.
Return | |
---|---|
AccountManager! |
the new instance. |