prepareMessage property

  1. @JsonKey(includeFromJson: false, includeToJson: false)
String Function(String keyMessage)? prepareMessage
final

Is called with the key message as provided by the content decryption module (CDM). This function can be used to customize the license acquisition message which will be sent to the license acquisition server.

Note that both the passed keyMessage data and the returned processed key message are expected to be a Base64 encoded String.

Implementation

@JsonKey(includeFromJson: false, includeToJson: false)
final String Function(String keyMessage)? prepareMessage;