SliceMetrics Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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
- transfer
- JniHandleOwnership