CHARSET, STRING_CHARSET_NAME| Constructor and Description |
|---|
MediaStoreSignature(String mimeType,
long dateModified,
int orientation)
Constructor for
MediaStoreSignature. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
void |
updateDiskCacheKey(MessageDigest messageDigest)
Adds all uniquely identifying information to the given digest.
|
public MediaStoreSignature(String mimeType, long dateModified, int orientation)
MediaStoreSignature.mimeType - The mime type of the media store media. Ok to default to empty string "".
See MediaStore.MediaColumns.MIME_TYPE or
MediaStore.MediaColumns.MIME_TYPE.dateModified - The date modified time of the media store media. Ok to default to 0. See
MediaStore.MediaColumns.DATE_MODIFIED or
MediaStore.MediaColumns.DATE_MODIFIED.orientation - The orientation of the media store media. Ok to default to 0. See MediaStore.Images.ImageColumns.ORIENTATION.public boolean equals(Object o)
public int hashCode()
public void updateDiskCacheKey(MessageDigest messageDigest)
Key Note - Using MessageDigest.reset() inside of this method will result
in undefined behavior.
updateDiskCacheKey in interface Key