NestAdsStandardVideoOptions
public final class NestAdsStandardVideoOptions: NestAdsVideoOptions
package com.nestads.sdk.ads.options
표준형 광고 중 동영상 미디어 스펙을 사용하는 광고에서 설정할 수 있는 동영상 옵션 클래스입니다. NestAdsStandardVideoOptions.Builder
를 통해 생성합니다.
Public Constructors
public constructor NestAdsStandardVideoOptions(var startMuted ...)
매개변수
타입
설명
startMuted
Boolean
동영상 광고가 시작될 때 음소거 상태로 시작하는지 여부
default: true
backgroundColor
String
여백 배경 색상 (#RRGGBB/#AARRGGBB)
default: #CCffffff
(흰색, 불투명도 80%)
progressBarColor
String
재생바 색상 (#RRGGBB/#AARRGGBB)
default: #ffffff
Nested Class
NestAdsStandardVideoOptions.Builder
NestAdsStandardVideoOptions 의 builder 클래스
NestAdsStandardVideoOptions.Builder
Public Constructors
public constructor Builder()
Public Methods
public final fun setStartMuted(startMuted: Boolean): NestAdsStandardVideoOptions.Builder
동영상 광고가 시작될 때 음소거 상태로 시작하는지 여부를 설정합니다.
public final fun setPlayCondition(playCondition: String): NestAdsStandardVideoOptions.Builder
동영상 광고 재생 타입을 설정합니다.
NEST_ADS_PLAY_CONDITION_AUTO_START_ON_WIFI: 와이파이와 연결 시 자동 재생
NEST_ADS_PLAY_CONDITION_CUSTOM: 커스텀 동작
public final fun setQuality(quality: String): NestAdsStandardVideoOptions.Builder
동영상 광고 화질을 설정합니다.
NEST_ADS_VIDEO_QUALITY_AUTO : 네트워크 환경에 따라 고화질/중화질/저화질 중 자동 선택
public final fun setBackgroundColor(backgroundColor: String): NestAdsStandardVideoOptions.Builder
게재위치 사이즈가 동영상 비율에 따른 사이즈 보다 커서 배경이 생길 경우에 배경 색상을 설정합니다. (#RRGGBB/#AARRGGBB)
public final fun setProgressBarColor(progressBarColor: String): NestAdsStandardVideoOptions.Builder
동영상 광고의 재생바 색상을 설정합니다. (#RRGGBB/#AARRGGBB)
public final fun build(): NestAdsStandardVideoOptions
NestAdsStandardVideoOptions 를 생성합니다.
Last updated