toContentCaptureSessionCompat

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.