Aracılığıyla paylaş


SimPhonebookContract.SimRecords.GetItemUri(Int32, Int32, Int32) Method

Definition

Content Uri for the specific SIM record with the provided #RECORD_NUMBER.

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

Parameters

subscriptionId
Int32

the subscription ID of the SIM containing the record. If no SIM with this subscription ID exists then it will be treated as a non-existent record

efType
Int32

the elementary file type containing the record. If the specified SIM doesn't support this elementary file then it will be treated as a non-existent record.

recordNumber
Int32

the record number of the record this Uri should reference. This must be greater than 0. If there is no record with this record number in the specified entity file then it will be treated as a non-existent record.

Returns

Uri
Attributes

Remarks

Content Uri for the specific SIM record with the provided #RECORD_NUMBER.

When queried this will return the record identified by the provided arguments.

For a non-existent record: <ul> <li>query will return an empty cursor</li> <li>update will return 0</li> <li>delete will return 0</li> </ul>

Java documentation for android.provider.SimPhonebookContract.SimRecords.getItemUri(int, 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