ContentCaptureSession.ContentCaptureContext Property

Definition

Gets the ContentCaptureContext associated with the session. -or- Sets the ContentCaptureContext associated with the session.

public Android.Views.ContentCaptures.ContentCaptureContext? ContentCaptureContext { [Android.Runtime.Register("getContentCaptureContext", "()Landroid/view/contentcapture/ContentCaptureContext;", "", ApiSince=29)] get; [Android.Runtime.Register("setContentCaptureContext", "(Landroid/view/contentcapture/ContentCaptureContext;)V", "", ApiSince=29)] set; }
[<get: Android.Runtime.Register("getContentCaptureContext", "()Landroid/view/contentcapture/ContentCaptureContext;", "", ApiSince=29)>]
[<set: Android.Runtime.Register("setContentCaptureContext", "(Landroid/view/contentcapture/ContentCaptureContext;)V", "", ApiSince=29)>]
member this.ContentCaptureContext : Android.Views.ContentCaptures.ContentCaptureContext with get, set

Property Value

context set on constructor or by #setContentCaptureContext(ContentCaptureContext), or null if never explicitly set.

Attributes

Remarks

Property getter documentation:

Gets the ContentCaptureContext associated with the session.

Java documentation for android.view.contentcapture.ContentCaptureSession.getContentCaptureContext().

Property setter documentation:

Sets the ContentCaptureContext associated with the session.

Typically used to change the context associated with the default session from an activity.

Java documentation for android.view.contentcapture.ContentCaptureSession.setContentCaptureContext(android.view.contentcapture.ContentCaptureContext).

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