widevine_id 1.0.0 copy "widevine_id: ^1.0.0" to clipboard
widevine_id: ^1.0.0 copied to clipboard

PlatformAndroid

A Flutter plugin to access Widevine ID in Android platform.

widevine_id #

A Flutter plugin to access Widevine ID in Android platform.

Widevine is a digital rights management (DRM) technology developed by Google to protect audio and video content from unauthorized copying and distribution. Widevine DRM ensures content security through encryption, license control, and secure player functionalities.

In Widevine DRM, each device is assigned a unique Widevine ID to identify the device and manage content licenses. The Widevine ID serves as a unique identifier for the device within the Widevine DRM system, facilitating device recognition and content access management.

Getting Started #

Run this command

 flutter pub add widevine_id

This will add a line like this to your package's pubspec.yaml

dependencies:
  ....
  widevine_id: ^1.0.0

Usage #

Get the Widevine ID.

final widevineId = await WidevineId.id();

Note #

No permissions are required to access this ID.

Widevine is supported on Android devices running Android 4.3 (API Level 18) and up.

You will get an empty string if the device does not support Widevine.

1
likes
160
points
28
downloads

Publisher

verified publisheryanhqz.cc

Weekly Downloads

A Flutter plugin to access Widevine ID in Android platform.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on widevine_id