Freigeben über


PreciseDataConnectionState.LastCauseCode Property

Definition

Returns the cause code generated by the most recent state change.

public int LastCauseCode { [Android.Runtime.Register("getLastCauseCode", "()I", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getLastCauseCode", "()I", "", ApiSince=30)>]
member this.LastCauseCode : int

Property Value

Attributes

Remarks

Returns the cause code generated by the most recent state change.

Return the cause code for the most recent change in #getState. In the event of an error, this cause code will be non-zero.

Java documentation for android.telephony.PreciseDataConnectionState.getLastCauseCode().

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