Sdílet prostřednictvím


CallLog.Calls.GetLastOutgoingCall(Context) Method

Definition

Query the call log database for the last dialed number.

[Android.Runtime.Register("getLastOutgoingCall", "(Landroid/content/Context;)Ljava/lang/String;", "")]
public static string? GetLastOutgoingCall (Android.Content.Context? context);
[<Android.Runtime.Register("getLastOutgoingCall", "(Landroid/content/Context;)Ljava/lang/String;", "")>]
static member GetLastOutgoingCall : Android.Content.Context -> string

Parameters

context
Context

Used to get the content resolver.

Returns

The last phone number dialed (outgoing) or an empty string if none exist yet.

Attributes

Remarks

Query the call log database for the last dialed number.

Java documentation for android.provider.CallLog.Calls.getLastOutgoingCall(android.content.Context).

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