MediaDrm.OfflineLicenseKeySetIds Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The keys in an offline license allow protected content to be played even if the device is not connected to a network.
public System.Collections.Generic.IList<byte[]> OfflineLicenseKeySetIds { [Android.Runtime.Register("getOfflineLicenseKeySetIds", "()Ljava/util/List;", "", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getOfflineLicenseKeySetIds", "()Ljava/util/List;", "", ApiSince=29)>]
member this.OfflineLicenseKeySetIds : System.Collections.Generic.IList<byte[]>
Property Value
a list of offline license keySetIds
- Attributes
Remarks
The keys in an offline license allow protected content to be played even if the device is not connected to a network. Offline licenses are stored on the device after a key request/response exchange when the key request KeyType is OFFLINE. Normally each app is responsible for keeping track of the keySetIds it has created. If an app loses the keySetId for any stored licenses that it created, however, it must be able to recover the stored keySetIds so those licenses can be removed when they expire or when the app is uninstalled.
This method returns a list of the keySetIds for all offline licenses. The offline license keySetId may be used to query the status of an offline license with #getOfflineLicenseState
or remove it with #removeOfflineLicense
.
Java documentation for android.media.MediaDrm.getOfflineLicenseKeySetIds()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.