InterstitialAd 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
public ref class InterstitialAd sealed
/// [Windows.Foundation.Metadata.Activatable(1)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Version(1)]
class InterstitialAd final
[Windows.Foundation.Metadata.Activatable(1)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Version(1)]
public sealed class InterstitialAd
function InterstitialAd()
Public NotInheritable Class InterstitialAd
- 상속
- 특성
추가 기능 및 요구 사항
| 소프트웨어 개발 키트 | |
| 지원되는 최소 OS |
Windows 10 (10.0.10240.0)
|
생성자
| InterstitialAd() |
InterstitialAd 클래스의 새 인스턴스를 초기화합니다. |
속성
| CountryOrRegion |
사용자가 있는 두 글자 국가 또는 지역 코드를 가져오거나 설정합니다. |
| Keywords |
광고 대상 그룹을 대상으로 하는 키워드를 가져오거나 설정합니다. |
| PostalCode |
광고의 우편 번호 대상을 가져오거나 설정합니다. |
| RequestTimeout |
시간이 초과되기 전에 광고 요청이 완료되기를 기다리는 시간(밀리초)을 가져오거나 설정합니다. |
| State |
중간 광고의 현재 상태를 가져옵니다. |
메서드
| AddAdTag(String, String) |
InterstitialAd 컨트롤에 광고 태그를 추가합니다. |
| Close() |
표시되는 중간 광고를 닫습니다. |
| RemoveAdTag(String) |
InterstitialAd 컨트롤에서 광고 태그를 제거합니다. |
| RequestAd(AdType, String, String) |
서버에서 중간 광고를 요청합니다. |
| Show() |
중간 광고를 표시합니다. |
이벤트
| AdReady |
중간 광고를 표시할 준비가 되면 발생합니다. |
| Cancelled |
사용자가 완료된 것으로 간주되기 전에 해당 광고 취소 시 발생합니다. |
| Completed |
광고 종료 후 광고 환경이 완료된 것으로 간주될 때 발생합니다. |
| ErrorOccurred |
InterstitialAd에서 작동 오류가 발생할 때 발생합니다. |