toContentCaptureSessionCompat
open fun toContentCaptureSessionCompat(@NonNull contentCaptureSession: ContentCaptureSession, @NonNull host: View): ContentCaptureSessionCompat(source)
Provides a backward-compatible wrapper for ContentCaptureSession.
This method is not supported on devices running SDK <29 since the platform class will not be available.
Return
wrapped class
Parameters
contentCaptureSession
platform class to wrap
host
view hosting the session.