PdfPageObjectType
class PdfPageObjectType
| kotlin.Any | |
| ↳ | android.graphics.pdf.component.PdfPageObjectType | 
This class holds the set of constants representing the types of a PDF page objects.
Summary
| Constants | |
|---|---|
| static Int | Represents an image page object | 
| static Int | Represents a path page object | 
| static Int | Represents a text page object | 
| static Int | Represents the type of page object that cannot be determined | 
| Public methods | |
|---|---|
| static Boolean | isValidType(type: Int)Checks if the given type is a valid PDF page object type. | 
Constants
UNKNOWN
static val UNKNOWN: Int
Represents the type of page object that cannot be determined
Value: 0Public methods
isValidType
static fun isValidType(type: Int): Boolean
Checks if the given type is a valid PDF page object type.
| Parameters | |
|---|---|
| type | Int: The type to check. | 
| Return | |
|---|---|
| Boolean | trueif the type is valid,falseotherwise. | 
