Udostępnij za pośrednictwem


SmsMessage.IndexOnSim Property

Definition

Caution

deprecated

Returns the record index of the message on the SIM (1-based index).

[System.Obsolete("deprecated")]
public virtual int IndexOnSim { [Android.Runtime.Register("getIndexOnSim", "()I", "GetGetIndexOnSimHandler")] get; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getIndexOnSim", "()I", "GetGetIndexOnSimHandler")>]
member this.IndexOnSim : int

Property Value

the record index of the message on the SIM, or -1 if this SmsMessage was not created from a SIM SMS EF record.

Attributes

Remarks

Returns the record index of the message on the SIM (1-based index).

This member is deprecated. Use getIndexOnIcc instead.

Java documentation for android.telephony.SmsMessage.getIndexOnSim().

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