ContactsContract.SimContacts.GetSimAccounts(ContentResolver) Method

Definition

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.

Java documentation for android.provider.ContactsContract.SimContacts.getSimAccounts(android.content.ContentResolver).

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.

Applies to