| Constructor and Description |
|---|
PDFAsset(java.lang.String uri) |
PDFAsset(java.lang.String uri,
java.lang.Boolean fromAsset) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
int |
getAssetHeight()
Get the asset height.
|
java.lang.String |
getAssetUri()
This returns the uri of the asset.
|
int |
getAssetWidth()
Get the asset width.
|
java.lang.String |
getContentType()
Get content type string.
|
java.io.InputStream |
getInputStream(Context context) |
Bitmap |
getPrintableBitmap()
This method is used to get the bitmap from the asset.
|
void |
writeToParcel(Parcel parcel,
int i) |
public PDFAsset(java.lang.String uri)
public PDFAsset(java.lang.String uri,
java.lang.Boolean fromAsset)
public Bitmap getPrintableBitmap()
AssetgetPrintableBitmap in interface Assetpublic java.lang.String getAssetUri()
AssetgetAssetUri in interface Assetpublic int getAssetWidth()
AssetgetAssetWidth in interface Assetpublic int getAssetHeight()
AssetgetAssetHeight in interface Assetpublic java.lang.String getContentType()
AssetgetContentType in interface Assetpublic int describeContents()
public void writeToParcel(Parcel parcel,
int i)
public java.io.InputStream getInputStream(Context context)