Contents

prepare(using:)

Configures the device to read mobile documents.

Declaration

final func prepare(using token: MobileDocumentReader.Token? = nil) async throws -> MobileDocumentReaderSession

Parameters

  • token:

    An optional reader token generated from your server.

Mentioned in

Return Value

MobileDocumentReaderSession when successful.

Discussion

This method prepares the device for mobile document reading.

This method returns a MobileDocumentReaderSession object, which you use to read mobile documents.

After calling this method, there are three possible scenarios:

See Also

Preparing the device for reading mobile documents