ContactsContract.SimContacts.GetSimAccounts(ContentResolver) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns all known SIM accounts.
[Android.Runtime.Register("getSimAccounts", "(Landroid/content/ContentResolver;)Ljava/util/List;", "", ApiSince=31)]
public static System.Collections.Generic.IList<Android.Provider.ContactsContract.SimAccount> GetSimAccounts (Android.Content.ContentResolver contentResolver);
[<Android.Runtime.Register("getSimAccounts", "(Landroid/content/ContentResolver;)Ljava/util/List;", "", ApiSince=31)>]
static member GetSimAccounts : Android.Content.ContentResolver -> System.Collections.Generic.IList<Android.Provider.ContactsContract.SimAccount>
Parameters
- contentResolver
- ContentResolver
content resolver to query.
Returns
- Attributes
Remarks
Returns all known SIM accounts. May be empty but never null.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.