NestAdsMultipleAdOptions
N개 광고 기본 옵션 클래스입니다.
open class NestAdsMultipleAdOptions
Public Methods
public init()
NestAdsMultipleAdOptions를 생성합니다.
open class NestAdsMultipleAdLoadOptions: NestAdsMultipleAdOptions
N개 광고 로드 옵션 클래스입니다.
Public Variables
open var numberOfAds: Int
요청 광고 개수
최소 1 ~ 최대 99
범위 외의 값 입력 시 최소 / 최대 값으로 자동 적용됩니다.
default: 1
Public Methods
public init(numberOfAds: Int? = 1)
NestAdsMultipleAdLoadOptions를 생성합니다.
open class NestAdsCarouselOptions: NestAdsMultipleAdOptions
N개 광고 Carousel 옵션 클래스입니다.
Public Variables
open var displayDuration: Double
자동 스크롤 사용 시, 배너가 보이는 시간
최소 1 ~ 최대 30 (초)
범위 외의 값 입력 시 최소 / 최대 값으로 자동 적용됩니다.
default: 3
open var transitionDuration: Double
자동 스크롤 사용 시, 배너 전환에 소요되는 시간
최소 0.1 ~ 최대 1.0 (초)
범위 외의 값 입력 시 최소 / 최대 값으로 자동 적용됩니다.
default: 0.5
open var indicator: NestAdsIndicatorOptions
N개 광고 배너의 인디케이터 옵션
Public Methods
public init(displayDuration: Double? = nil, transitionDuration: Double? = nil, indicator: NestAdsIndicatorOptions? = nil)
NestAdsCarouselOptions를 생성합니다.
open class NestAdsIndicatorOptions: NestAdsMultipleAdOptions
N개 광고 배너의 인디케이터 옵션 클래스입니다.
Public Variables
open var size: NestAdsMultipleAdIndicatorSize
인디케이터의 사이즈
default: .small
open var opacity: CGFloat
인디케이터의 투명도
최소 0 ~ 최대 1의 투명도를 설정합니다.
0: 투명
1: 불투명
default: 0.7
open var backgroundColor: UIColor
인디케이터 배경 색상
default: .black
open var font: UIFont
인디케이터 폰트
default: .systemFont(ofSize: 10, weight: .bold)
open var fontColor: UIColor
인디케이터 폰트 색상
default: .white
open var borderColor: UIColor
인디케이터 boder 색상
default: .black
open var borderWidth: CGFloat
border 두께
최소 0 ~ 최대 2
범위 외의 값 입력 시 최소 / 최대 값으로 자동 적용됩니다.
default: 0
Public Methods
public init(size: NestAdsMultipleAdIndicatorSize? = nil, opacity: CGFloat? = nil, backgroundColor: UIColor? = nil, font: UIFont? = nil, fontColor: UIColor? = nil, borderColor: UIColor? = nil, borderWidth: CGFloat? = nil)
NestAdsMultipleAdIndicatorOptions를 생성합니다.
open class NestAdsAdListOptions: NestAdsMultipleAdOptions
N개 광고 배너의 모아보기 옵션 클래스입니다.
Public Variables
open var useCustomClickAction: Bool
모아보기 버튼 액션을 커스텀으로 구현할지 여부
true: 버튼 액션을 커스텀으로 구현합니다.
delegate 호출 시점에 액션을 구현합니다.
delegate 호출 시점
false: SDK에서 모아보기 화면을 띄워주며, 열려있던 광고 배너는 닫힙니다.
default: true
open var adListViewOptions: NestAdsListViewOptions?
SDK에서 제공하는 모아보기 화면 옵션
Public Methods
public init(useCustomClickAction: Bool? = nil, adListViewOptions: NestAdsListViewOptions? = nil)
NestAdsAdListOptions를 생성합니다.
open class NestAdsListViewOptions: NestAdsMultipleAdOptions
N개 광고 배너의 모아보기 화면 옵션 클래스입니다.
Public Variables
open var title: String
모아보기 화면의 타이틀
default: "모아보기"
open var bannerInsets: UIEdgeInsets
모아보기 화면의 배너 간격
default: UIEdgeInsets(top: 8, left: 8, bottom: 8, right: 8)
open var titleFont: UIFont?
모아보기 화면의 타이틀 폰트
default: .systemFont(ofSize: 14)
open var cornerRadius: CGFloat
모아보기 화면 배너의 radius
최소 0 ~ 최대 20
범위 외의 값 입력 시 최소 / 최대 값으로 자동 적용됩니다.
default: 0, 직각
open var backgroundArea: NestAdsBackgroundArea
모아보기 화면의 영역
default: .fullScreen
Public Methods
public init(title: String? = nil, bannerInsets: UIEdgeInsets? = nil, titleFont: UIFont? = nil, cornerRadius: CGFloat? = nil, backgroundArea: NestAdsBackgroundArea? = nil)
NestAdsListViewOptions를 생성합니다.
Last updated