public static interface MsSmoothEncryptionSettings.Builder extends SdkPojo, CopyableBuilder<MsSmoothEncryptionSettings.Builder,MsSmoothEncryptionSettings>
Modifier and Type | Method and Description |
---|---|
default MsSmoothEncryptionSettings.Builder |
spekeKeyProvider(Consumer<SpekeKeyProvider.Builder> spekeKeyProvider)
If your output group type is HLS, DASH, or Microsoft Smooth, use these settings when doing DRM encryption
with a SPEKE-compliant key provider.
|
MsSmoothEncryptionSettings.Builder |
spekeKeyProvider(SpekeKeyProvider spekeKeyProvider)
If your output group type is HLS, DASH, or Microsoft Smooth, use these settings when doing DRM encryption
with a SPEKE-compliant key provider.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
MsSmoothEncryptionSettings.Builder spekeKeyProvider(SpekeKeyProvider spekeKeyProvider)
spekeKeyProvider
- If your output group type is HLS, DASH, or Microsoft Smooth, use these settings when doing DRM
encryption with a SPEKE-compliant key provider. If your output group type is CMAF, use the
SpekeKeyProviderCmaf settings instead.default MsSmoothEncryptionSettings.Builder spekeKeyProvider(Consumer<SpekeKeyProvider.Builder> spekeKeyProvider)
SpekeKeyProvider.Builder
avoiding the
need to create one manually via SpekeKeyProvider.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to spekeKeyProvider(SpekeKeyProvider)
.spekeKeyProvider
- a consumer that will call methods on SpekeKeyProvider.Builder
spekeKeyProvider(SpekeKeyProvider)
Copyright © 2020. All rights reserved.