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()
Asset
getPrintableBitmap
in interface Asset
public java.lang.String getAssetUri()
Asset
getAssetUri
in interface Asset
public int getAssetWidth()
Asset
getAssetWidth
in interface Asset
public int getAssetHeight()
Asset
getAssetHeight
in interface Asset
public java.lang.String getContentType()
Asset
getContentType
in interface Asset
public int describeContents()
public void writeToParcel(Parcel parcel, int i)
public java.io.InputStream getInputStream(Context context)