CHARSET, STRING_CHARSET_NAME| Constructor and Description |
|---|
MediaStoreSignature(java.lang.String mimeType,
long dateModified,
int orientation)
Constructor for
MediaStoreSignature. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
For caching to work correctly, implementations must implement this method and
Key.hashCode(). |
int |
hashCode()
For caching to work correctly, implementations must implement this method and
Key.equals(Object). |
void |
updateDiskCacheKey(java.security.MessageDigest messageDigest)
Adds all uniquely identifying information to the given digest.
|
public MediaStoreSignature(@Nullable
java.lang.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(java.lang.Object o)
KeyKey.hashCode().public int hashCode()
KeyKey.equals(Object).public void updateDiskCacheKey(@NonNull
java.security.MessageDigest messageDigest)
KeyNote - Using MessageDigest.reset() inside of this method will result
in undefined behavior.
updateDiskCacheKey in interface Key