SliceMetrics Constructors

Definition

Overloads

SliceMetrics(Context, Uri)

An object to be used throughout the life of a slice to register events.

SliceMetrics(IntPtr, JniHandleOwnership)

SliceMetrics(Context, Uri)

An object to be used throughout the life of a slice to register events.

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/net/Uri;)V", "", ApiSince=28)]
public SliceMetrics (Android.Content.Context context, Android.Net.Uri uri);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/net/Uri;)V", "", ApiSince=28)>]
new Android.App.Slices.SliceMetrics : Android.Content.Context * Android.Net.Uri -> Android.App.Slices.SliceMetrics

Parameters

context
Context
uri
Uri
Attributes

Remarks

An object to be used throughout the life of a slice to register events.

Java documentation for android.app.slice.SliceMetrics.SliceMetrics(android.content.Context, android.net.Uri).

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

SliceMetrics(IntPtr, JniHandleOwnership)

protected SliceMetrics (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.App.Slices.SliceMetrics : nativeint * Android.Runtime.JniHandleOwnership -> Android.App.Slices.SliceMetrics

Parameters

javaReference
IntPtr

nativeint

Applies to