Sdílet prostřednictvím


Browser.SaveBookmark(Context, String, String) Method

Definition

Open an activity to save a bookmark.

[Android.Runtime.Register("saveBookmark", "(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V", "")]
public static void SaveBookmark (Android.Content.Context? c, string? title, string? url);
[<Android.Runtime.Register("saveBookmark", "(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V", "")>]
static member SaveBookmark : Android.Content.Context * string * string -> unit

Parameters

c
Context

Context used to launch the activity to add a bookmark.

title
String

Title for the bookmark. Can be null or empty string.

url
String

Url for the bookmark. Can be null or empty string.

Attributes

Remarks

Open an activity to save a bookmark. Launch with a title and/or a url, both of which can be edited by the user before saving.

Java documentation for android.provider.Browser.saveBookmark(android.content.Context, java.lang.String, java.lang.String).

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