Package com.pspdfkit.signatures
Class SignatureGraphic
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class SignatureGraphic implements Parcelable
Contains the graphic that will be used as the signature.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
SignatureGraphic.Companion
-
Field Summary
Fields Modifier and Type Field Description public final static Parcelable.Creator<SignatureGraphic>
CREATOR
private final Boolean
isBitmap
private final Uri
uri
private final DataProvider
dataProvider
public final static SignatureGraphic.Companion
Companion
-
Method Summary
Modifier and Type Method Description final Boolean
isBitmap()
Whether or not this SignatureGraphic is a bitmap. final Uri
getUri()
The Uri of this SignatureGraphic. final DataProvider
getDataProvider()
The DataProvider of this SignatureGraphic. Boolean
equals(Object other)
Integer
hashCode()
Unit
writeToParcel(Parcel dest, Integer flags)
Integer
describeContents()
String
toString()
-
-
Method Detail
-
isBitmap
final Boolean isBitmap()
Whether or not this SignatureGraphic is a bitmap.
-
getUri
final Uri getUri()
The Uri of this SignatureGraphic. If this is
null
.getDataProvider is guaranteed to be non-null.- Returns:
The Uri where the bitmap or PDF is located, or
null
if a data provider is used.
-
getDataProvider
final DataProvider getDataProvider()
The DataProvider of this SignatureGraphic. If this is
null
uri is guaranteed to be non-null.- Returns:
The DataProvider containing the bitmap or PDF, or
null
is a URI is used.
-
writeToParcel
Unit writeToParcel(Parcel dest, Integer flags)
-
describeContents
Integer describeContents()
-
-
-
-