VideoOptions.Builder

public final class VideoOptions.Builder


VideoOptions için inşaatçı.

Özet

Herkese açık kurucular

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ışının etkin olduğu reklamlar isteyip istemeyeceğini belirler.

VideoOptions.Builder
@CanIgnoreReturnValue
setCustomControlsRequested(boolean customControlsRequested)

Video reklamlar için özel video denetimleri ister.

VideoOptions.Builder
@CanIgnoreReturnValue
setStartMuted(boolean startMuted)

Videonun ilk sessiz durumunu ayarlar.

Herkese açık kurucular

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ışının etkin olduğu reklamlar isteyip istemeyeceğini belirler.

setCustomControlsRequested

@CanIgnoreReturnValue
public VideoOptions.Builder setCustomControlsRequested(boolean customControlsRequested)

Video reklamlar için özel video denetimleri ister.

Bu özellik şu anda yalnızca Ad Manager rezervasyonları için kullanılabilir.

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

Doğrulama işleminden sonra video reklamı kontrol etmek için play, pause ve mute öğelerini kullanabilirsiniz.

setStartMuted

@CanIgnoreReturnValue
public VideoOptions.Builder setStartMuted(boolean startMuted)

Videonun ilk sessiz durumunu ayarlar.