Freigeben über


TvRecordingClient Constructors

Definition

Overloads

TvRecordingClient(IntPtr, JniHandleOwnership)
TvRecordingClient(Context, String, TvRecordingClient+RecordingCallback, Handler)

Creates a new TvRecordingClient object.

TvRecordingClient(IntPtr, JniHandleOwnership)

protected TvRecordingClient (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Media.TV.TvRecordingClient : nativeint * Android.Runtime.JniHandleOwnership -> Android.Media.TV.TvRecordingClient

Parameters

javaReference
IntPtr

nativeint

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

TvRecordingClient(Context, String, TvRecordingClient+RecordingCallback, Handler)

Creates a new TvRecordingClient object.

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Ljava/lang/String;Landroid/media/tv/TvRecordingClient$RecordingCallback;Landroid/os/Handler;)V", "", ApiSince=24)]
public TvRecordingClient (Android.Content.Context? context, string? tag, Android.Media.TV.TvRecordingClient.RecordingCallback callback, Android.OS.Handler? handler);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Ljava/lang/String;Landroid/media/tv/TvRecordingClient$RecordingCallback;Landroid/os/Handler;)V", "", ApiSince=24)>]
new Android.Media.TV.TvRecordingClient : Android.Content.Context * string * Android.Media.TV.TvRecordingClient.RecordingCallback * Android.OS.Handler -> Android.Media.TV.TvRecordingClient

Parameters

context
Context

The application context to create a TvRecordingClient with.

tag
String

A short name for debugging purposes.

callback
TvRecordingClient.RecordingCallback

The callback to receive recording status changes.

handler
Handler

The handler to invoke the callback on.

Attributes

Remarks

Java documentation for android.media.tv.TvRecordingClient.TvRecordingClient(android.content.Context, java.lang.String, android.media.tv.RecordingCallback, android.os.Handler).

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