This repository was archived by the owner on Jul 17, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from takasfz/v5_2_0
Update SDK version to 5.2.0
- Loading branch information
Showing
5 changed files
with
54 additions
and
1 deletion.
There are no files selected for viewing
Binary file modified
BIN
+71.8 KB
(120%)
AMoAdCocos2dxModuleDemo/proj.android-studio/app/libs/AMoAd.jar
Binary file not shown.
Binary file not shown.
53 changes: 53 additions & 0 deletions
53
AMoAdCocos2dxModuleDemo/proj.ios_mac/AMoAdSdk/AMoAdInterstitialVideo.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
// | ||
// AMoAdInterstitialVideo.h | ||
// AMoAd | ||
// | ||
// Created by AMoAd on 08/12/2017. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
#import <UIKit/UIKit.h> | ||
|
||
#import "AMoAd.h" | ||
|
||
@class AMoAdInterstitialVideo; | ||
|
||
@protocol AMoAdInterstitialVideoDelegate <NSObject> | ||
@optional | ||
/// 広告のロードが完了した | ||
- (void)amoadInterstitialVideo:(AMoAdInterstitialVideo *)amoadInterstitialVideo didLoadAd:(AMoAdResult)result; | ||
/// 動画の再生を開始した | ||
- (void)amoadInterstitialVideoDidStart:(AMoAdInterstitialVideo *)amoadInterstitialVideo; | ||
/// 動画を最後まで再生完了した | ||
- (void)amoadInterstitialVideoDidComplete:(AMoAdInterstitialVideo *)amoadInterstitialVideo; | ||
/// 動画の再生に失敗した | ||
- (void)amoadInterstitialVideoDidFailToPlay:(AMoAdInterstitialVideo *)amoadInterstitialVideo NS_SWIFT_NAME(amoadInterstitialVideoDidFailToPlay(_:)); | ||
/// 広告を表示した | ||
- (void)amoadInterstitialVideoDidShow:(AMoAdInterstitialVideo *)amoadInterstitialVideo; | ||
/// 広告を閉じた | ||
- (void)amoadInterstitialVideoWillDismiss:(AMoAdInterstitialVideo *)amoadInterstitialVideo; | ||
/// 広告をクリックした | ||
- (void)amoadInterstitialVideoDidClickAd:(AMoAdInterstitialVideo *)amoadInterstitialVideo; | ||
@end | ||
|
||
/// インタースティシャル動画広告 | ||
@interface AMoAdInterstitialVideo: NSObject | ||
|
||
@property (nonatomic, weak) id<AMoAdInterstitialVideoDelegate> delegate; | ||
|
||
/// 広告のロードが完了していれば YES | ||
@property (nonatomic, readonly, getter=isLoaded) BOOL loaded; | ||
/// 動画の再生中にユーザが×ボタンをタップして広告を閉じることを許可するか | ||
@property (nonatomic, getter=isCancellable) BOOL cancellable; | ||
|
||
+ (instancetype)sharedInstanceWithSid:(NSString *)sid tag:(NSString *)tag; | ||
- (instancetype)init NS_UNAVAILABLE; | ||
|
||
/// 広告をロードする | ||
- (void)load; | ||
/// 広告を表示する | ||
- (void)show; | ||
/// 広告を閉じる | ||
- (void)dismiss; | ||
|
||
@end |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters