public interface LocalDataStore
LocalAssetsManager
in order to save/load/remove the offline Drm keySetId.
Created by anton.afanasiev on 13/12/2016.Modifier and Type | Method and Description |
---|---|
byte[] |
load(java.lang.String key)
Loads the keySetId.
|
void |
remove(java.lang.String key)
Remove the keySetId from the storage.
|
void |
save(java.lang.String key,
byte[] value)
Save the offline drm keySetId.
|
void save(java.lang.String key, byte[] value)
key
- - the key to save the value.value
- - the keySetId of the drm.byte[] load(java.lang.String key) throws java.io.FileNotFoundException
key
- - key for the keySetId.java.io.FileNotFoundException
- - thrown when the keySetId could not be found with specified key.void remove(java.lang.String key)
key
- - key that should be removed.