Language

SimPhonebookContract.ElementaryFiles.GetItemUri(Int32, Int32) Method

Definition

Returns a content uri for a specific elementary file.

[Android.Runtime.Register("getItemUri", "(II)Landroid/net/Uri;", "", ApiSince=31)]
public static Android.Net.Uri GetItemUri(int subscriptionId, int efType);
[<Android.Runtime.Register("getItemUri", "(II)Landroid/net/Uri;", "", ApiSince=31)>]
static member GetItemUri : int * int -> Android.Net.Uri

Parameters

subscriptionId
Int32
efType
Int32

Value is one of the following: EF_UNKNOWN EF_ADN EF_FDN EF_SDN

Returns

Uri
Attributes

Remarks

Returns a content uri for a specific elementary file.

If a SIM with the specified subscriptionId is not present an exception will be thrown. If the SIM doesn't support the specified elementary file it will return an empty cursor.

Java documentation for android.provider.SimPhonebookContract.ElementaryFiles.getItemUri(int, int).

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