Language

Condition.NewId(Context) Method

Definition

Creates a URI builder with the condition scheme and the context's package authority.

[Android.Runtime.Register("newId", "(Landroid/content/Context;)Landroid/net/Uri$Builder;", "", ApiSince=24)]
public static Android.Net.Uri.Builder? NewId(Android.Content.Context? context);
[<Android.Runtime.Register("newId", "(Landroid/content/Context;)Landroid/net/Uri$Builder;", "", ApiSince=24)>]
static member NewId : Android.Content.Context -> Android.Net.Uri.Builder

Parameters

context
Context

The context whose package name becomes the URI authority.

Returns

A URI builder initialized for the context's package.

Attributes

Remarks

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