-
- All Implemented Interfaces:
-
com.mobwith.imgmodule.load.Key
public class MediaStoreSignature implements Key
A unique signature based on metadata data from the media store that detects common changes to media store files like edits, rotations, and temporary file replacement.
-
-
Constructor Summary
Constructors Constructor Description MediaStoreSignature(String mimeType, long dateModified, int orientation)Constructor for com.mobwith.imgmodule.signature.MediaStoreSignature.
-
Method Summary
Modifier and Type Method Description booleanequals(Object o)inthashCode()voidupdateDiskCacheKey(@NonNull() MessageDigest messageDigest)Adds all uniquely identifying information to the given digest. -
-
Constructor Detail
-
MediaStoreSignature
MediaStoreSignature(String mimeType, long dateModified, int orientation)
Constructor for com.mobwith.imgmodule.signature.MediaStoreSignature.- Parameters:
mimeType- The mime type of the media store media.dateModified- The date modified time of the media store media.orientation- The orientation of the media store media.
-
-
Method Detail
-
hashCode
int hashCode()
-
updateDiskCacheKey
void updateDiskCacheKey(@NonNull() MessageDigest messageDigest)
Adds all uniquely identifying information to the given digest.
Note - Using reset inside of this method will resultin undefined behavior.
-
-
-
-