Interface MsSmoothEncryptionSettings.Builder

All Superinterfaces:
Buildable, CopyableBuilder<MsSmoothEncryptionSettings.Builder,MsSmoothEncryptionSettings>, SdkBuilder<MsSmoothEncryptionSettings.Builder,MsSmoothEncryptionSettings>, SdkPojo
Enclosing class:
MsSmoothEncryptionSettings

public static interface MsSmoothEncryptionSettings.Builder extends SdkPojo, CopyableBuilder<MsSmoothEncryptionSettings.Builder,MsSmoothEncryptionSettings>
  • Method Details

    • spekeKeyProvider

      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. If your output group type is CMAF, use the SpekeKeyProviderCmaf settings instead.
      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • spekeKeyProvider

      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. If your output group type is CMAF, use the SpekeKeyProviderCmaf settings instead. This is a convenience method that creates an instance of the 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).

      Parameters:
      spekeKeyProvider - a consumer that will call methods on SpekeKeyProvider.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: