NestAdsPopupAdViewOptions

public final class NestAdsPopupAdViewOptions

package com.nestads.sdk.ads.popup

팝업 배너 광고의 옵션을 생성하는 클래스입니다. NestAdsPopupAdViewOptions.Builder 를 통해 생성합니다.


Public Constructors

public constructor NestAdsPopupAdViewOptions(var leftButtonText ...)

매개변수
타입
설명

leftButtonText

String?

왼쪽 버튼의 텍스트

default: null

rightButtonText

String?

오른쪽 버튼의 텍스트

default: null

leftButtonFontName

Int?

왼쪽 버튼의 서체 resourceId default: null

rightButtonFontName

Int?

오른쪽 버튼의 서체 resourceId default: null

leftButtonFontColor

String?

왼쪽 버튼 텍스트 색상

default: "#000000"

rightButtonFontColor

String?

오른쪽 버튼 텍스트 색상

default: "#F1F1F1"

leftButtonColor

String?

왼쪽 버튼 배경 색상

default: "#F1F1F1"

rightButtonColor

String?

오른쪽 버튼 배경 색상

default: "#000000"

leftButtonBorderColor

String?

왼쪽 버튼 테두리 색상

default: "#F1F1F1"

rightButtonBorderColor

String?

오른쪽 버튼 테두리 색상

default: "#000000"

backgroundColor

String?

팝업 배너 배경 색상

default: 소재 이미지 0,0 좌표 내 1px 색상

imageBorderColor

String?

팝업 배너 테두리 색상

default: "#B1B1B1"

popupMarginTop

Int?

팝업의 위쪽 여백

default:

중앙 팝업: 100 하단 팝업: 240

popupMarginBottom

Int?

팝업의 아래쪽 여백

default:

중앙 팝업: 100 하단 팝업: null

popupMarginLeft

Int?

팝업의 왼쪽 여백

default:

중앙 팝업: 20 하단 팝업: null

popupMarginRight

Int?

팝업의 아래쪽 여백

default:

중앙 팝업: 20 하단 팝업: null


Nested Class

NestAdsPopupAdViewOptions 의 Builder 클래스


NestAdsPopupAdViewOptions.Builder

Public Constructors

public constructor Builder()


Public Methods

public final fun setLeftButtonText(leftButtonText: String ): NestAdsPopupAdViewOptions. Builder

왼쪽 버튼의 텍스트를 설정합니다.


public final fun setRightButtonText(rightButtonText: String ): NestAdsPopupAdViewOptions. Builder

오른쪽 버튼의 텍스트를 설정합니다.


public final fun setLeftButtonFontName(leftButtonFontName: Int ): NestAdsPopupAdViewOptions. Builder

왼쪽 버튼의 서체를 설정합니다. resource의 ID를 넣어줍니다.


public final fun setRightButtonFontName(rightButtonFontName: Int ): NestAdsPopupAdViewOptions. Builder

오른쪽 버튼의 서체를 설정합니다. resource의 ID를 넣어줍니다.


public final fun setLeftButtonFontColor(leftButtonFontColor: String ): NestAdsPopupAdViewOptions. Builder

왼쪽 버튼 폰트 색상을 설정합니다. hex code 가 아니면 기본값을 설정합니다.


public final fun setRightButtonFontColor(rightButtonFontColor: String ): NestAdsPopupAdViewOptions. Builder

오른쪽 버튼 폰트 색상을 설정합니다. hex code 가 아니면 기본값을 설정합니다.


public final fun setLeftButtonColor(leftButtonColor: String ): NestAdsPopupAdViewOptions. Builder

왼쪽 버튼의 배경 색상을 설정합니다. hex code 가 아니면 기본값을 설정합니다.


public final fun setRightButtonColor(rightButtonColor: String ): NestAdsPopupAdViewOptions. Builder

오른쪽 버튼의 배경 색상을 설정합니다. hex code 가 아니면 기본값을 설정합니다.


public final fun setLeftButtonBorderColor(leftButtonBorderColor: String ): NestAdsPopupAdViewOptions. Builder

왼쪽 버튼 테두리 색상을 설정합니다. hex code 가 아니면 기본값을 설정합니다.


public final fun setRightButtonBorderColor(leftButtonBorderColor: String ): NestAdsPopupAdViewOptions. Builder

오른쪽 버튼 테두리 색상을 설정합니다. hex code 가 아니면 기본값을 설정합니다.


public final fun setBackgroundColor(backgroundColor: String ): NestAdsPopupAdViewOptions. Builder

팝업 배너 이미지의 배경 색상을 설정합니다. hex code 가 아니면 기본값을 설정합니다.


public final fun setImageBorderColor(imageBorderColor: String ): NestAdsPopupAdViewOptions. Builder

팝업 배너 테두리 색상을 설정합니다. hex code 가 아니면 기본값을 설정합니다.


public final fun setPopupMarginTop(popupMarginTop: Int ): NestAdsPopupAdViewOptions. Builder

팝업 위쪽 여백을 설정합니다. NestAdsPopupAdViewadSize 가 팝업 여백보다 우선됩니다.


public final fun setPopupMarginBottom(popupMarginBottom: Int ): NestAdsPopupAdViewOptions. Builder

팝업 아래쪽 여백을 설정합니다. NestAdsPopupAdViewadSize 가 팝업 여백보다 우선됩니다.


public final fun setPopupMarginLeft(popupMarginLeft: Int ): NestAdsPopupAdViewOptions. Builder

팝업 왼쪽 여백을 설정합니다. NestAdsPopupAdViewadSize 가 팝업 여백보다 우선됩니다.


public final fun setPopupMarginRight(popupMarginRight: Int ): NestAdsPopupAdViewOptions. Builder

팝업 오른쪽 여백을 설정합니다. NestAdsPopupAdViewadSize 가 팝업 여백보다 우선됩니다.


public final fun build(): NestAdsPopupAdViewOptions

NestAdsPopupAdViewOptions 를 생성합니다.

Last updated