VideoOptions.Builder

public final class VideoOptions.Builder


VideoOptions için derleyiciler.

Özet

Herkese açık oluşturucular

Herkese açık yöntemler

VideoOptions

Belirtilen özelliklere sahip bir VideoOptions nesnesi oluşturur.

VideoOptions.Builder
@CanIgnoreReturnValue
setClickToExpandRequested(boolean clickToExpandRequested)

AdLoader'ın, genişletmek için tıkla davranışı etkinleştirilmiş reklam isteyip istemeyeceğini ayarlar.

VideoOptions.Builder
@CanIgnoreReturnValue
setCustomControlsRequested(boolean customControlsRequested)

Video reklamlar için özel video kontrolleri ister.

VideoOptions.Builder
@CanIgnoreReturnValue
setStartMuted(boolean startMuted)

Videonun ilk sessiz durumunu ayarlar.

Herkese açık oluşturucular

Derleyici

public Builder()

Herkese açık yöntemler

build

public VideoOptions build()

Belirtilen özelliklere sahip bir VideoOptions nesnesi oluşturur.

setClickToExpandRequested

@CanIgnoreReturnValue
public VideoOptions.Builder setClickToExpandRequested(boolean clickToExpandRequested)

AdLoader'ın, genişletmek için tıkla davranışı etkinleştirilmiş reklam isteyip istemeyeceğini ayarlar.

setCustomControlsRequested

@CanIgnoreReturnValue
public VideoOptions.Builder setCustomControlsRequested(boolean customControlsRequested)

Video reklamlar için özel video kontrolleri ister.

Bu özellik şu anda yalnızca Ad Manager rezervasyonlarında kullanılabilir.

Yüklenen bir video reklamda özel video denetimlerinin etkin olup olmadığını doğrulamak için isCustomControlsEnabled simgesini kullanın.

Doğrulamadan sonra video reklamı kontrol etmek için play, pause ve mute simgelerini kullanabilirsiniz.

setStartMuted

@CanIgnoreReturnValue
public VideoOptions.Builder setStartMuted(boolean startMuted)

Videonun ilk sessiz durumunu ayarlar.