GmsDocumentScanningResult.Pdf

  • GmsDocumentScanningResult.Pdf is an abstract class representing a PDF in the scanning result, inheriting from Object and implementing Parcelable.

  • It includes methods to retrieve the number of pages in the scanned PDF (getPageCount) and the URI of the PDF file (getUri).

  • The class also includes a public constructor Pdf() and inherits methods from Object and Parcelable.

public static abstract class GmsDocumentScanningResult.Pdf extends Object
implements Parcelable

Represents the PDF in the scanning result.

Inherited Constant Summary

From interface android.os.Parcelable
int CONTENTS_FILE_DESCRIPTOR
int PARCELABLE_WRITE_RETURN_VALUE

Public Constructor Summary

Pdf ()

Public Method Summary

abstract int
getPageCount ()
Returns the number of page being scanned.
abstract Uri
getUri ()
Returns the PDF file Uri.

Inherited Method Summary

From class java.lang.Object
Object
clone()
boolean
equals(Object arg0)
void
finalize()
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()
From interface android.os.Parcelable
abstract int
describeContents()
abstract void
writeToParcel(Parcel arg0, int arg1)

Public Constructors

public Pdf ()

Public Methods

public abstract int getPageCount ()

Returns the number of page being scanned.

public abstract Uri getUri ()

Returns the PDF file Uri.

This Uri points to a file in the client app's private cache storage.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024年10月31日 UTC.