Skip to content

Commit

Permalink
add SDK Ver 4.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
FluctMember committed Jun 15, 2018
1 parent 7f88c5a commit c55b8e3
Show file tree
Hide file tree
Showing 404 changed files with 16,463 additions and 0 deletions.
Binary file added FluctSDK/FluctSDK.framework/FluctSDK
Binary file not shown.
29 changes: 29 additions & 0 deletions FluctSDK/FluctSDK.framework/Headers/FSSAdRequestTargeting.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
//
// FSSAdRequestTargeting.h
// FluctSDK
//
// Created by 清 貴幸 on 2017/09/04.
// Copyright © 2017年 fluct, Inc. All rights reserved.
//

#import <CoreLocation/CoreLocation.h>
#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSUInteger, FSSGender) {
FSSGenderUnknown = 0,
FSSGenderMale,
FSSGenderFemale
};

@interface FSSAdRequestTargeting : NSObject

@property (nonatomic, copy, nullable) NSString *userID;
@property (nonatomic, copy, nullable) CLLocation *location;
@property (nonatomic) FSSGender gender;
@property (nonatomic, copy, nullable) NSDate *birthday;
@property (nonatomic) NSInteger age;
@end

NS_ASSUME_NONNULL_END
50 changes: 50 additions & 0 deletions FluctSDK/FluctSDK.framework/Headers/FSSBannerView.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
//
// FSSBannerView.h
//
// Fluct SDK
// Copyright 2011-2016 fluct, Inc. All rights reserved.
//

/*
* バナー広告表示を行う
* 事前にFluctSDKで表示設定処理を行う必要があります
*/

#import <UIKit/UIKit.h>

/**
コールバックタイプ
*/
typedef NS_ENUM(NSInteger, FSSBannerViewCallbackType) {
FSSBannerViewCallbackTypeLoad = 0,
FSSBannerViewCallbackTypeTap = 1,
FSSBannerViewCallbackTypeOffline = 2,
FSSBannerViewCallbackTypeMediaIdError = 3,
FSSBannerViewCallbackTypeNoConfig = 4,
FSSBannerViewCallbackTypeGetConfigError = 5,
FSSBannerViewCallbackTypeNoAd = 6,
FSSBannerViewCallbackTypeLoadFinish = 7,
FSSBannerViewCallbackTypeOtherError = 100
};

@protocol FSSBannerViewDelegate;

@class BannerWebView;
@interface FSSBannerView : UIView

NS_ASSUME_NONNULL_BEGIN
@property (nullable, nonatomic, weak) id<FSSBannerViewDelegate> delegate;
@property (nonatomic, getter=isSizeAdjust) IBInspectable BOOL sizeAdjust;
- (id)init __attribute__((unavailable("FSSBannerView's init is not available")));
- (id)initWithFrame:(CGRect)frame sizeAdjust:(BOOL)sizeAdjust;

- (void)setMediaID:(NSString *)mediaID;
- (void)setRootViewController:(UIViewController *)rootViewController;
- (void)refreshBanner;
@end

@protocol FSSBannerViewDelegate <NSObject>
@optional
- (void)bannerView:(FSSBannerView *)bannerView callbackType:(FSSBannerViewCallbackType)callbackType;
@end
NS_ASSUME_NONNULL_END
28 changes: 28 additions & 0 deletions FluctSDK/FluctSDK.framework/Headers/FSSConfigurationOptions.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
//
// FSSConfigurationOptions.h
// FluctSDK
//
// Created by 清 貴幸 on 2017/12/13.
// Copyright © 2017年 fluct, Inc. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSUInteger, FSSDevelopmentEnvironmentType) {
FSSDevelopmentEnvironmentTypeNative,
FSSDevelopmentEnvironmentTypeUnity,
};

@interface FSSConfigurationOptions : NSObject
@property (nonatomic) FSSDevelopmentEnvironmentType envType;
@property (nonatomic, readonly) NSString *envName;
@property (nonatomic) NSString *envVersion;
@property (nonatomic) NSString *bridgePluginVersion;

+ (FSSConfigurationOptions *)defaultOptions;

NS_ASSUME_NONNULL_END

@end
44 changes: 44 additions & 0 deletions FluctSDK/FluctSDK.framework/Headers/FSSInterstitialView.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
//
// FSSInterstitialView.h
//
// Fluct SDK
// Copyright 2011-2016 fluct, Inc. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, FSSInterstitialViewCallbackType) {
FSSInterstitialViewCallbackTypeShow = 0,
FSSInterstitialViewCallbackTypeTap = 1,
FSSInterstitialViewCallbackTypeClose = 2,
FSSInterstitialViewCallbackTypeCancel = 3,
FSSInterstitialViewCallbackTypeOffline = 4,
FSSInterstitialViewCallbackTypeMediaIDError = 5,
FSSInterstitialViewCallbackTypeNoConfig = 6,
FSSInterstitialViewCallbackTypeSizeError = 7,
FSSInterstitialViewCallbackTypeGetConfigError = 8,
FSSInterstitialViewCallbackTypeOtherError = 100,
};

@protocol FSSInterstitialViewDelegate;

@interface FSSInterstitialView : UIView

- (id)init;
- (id)initWithMediaID:(NSString *)mediaID;
@property (nonatomic, copy, readwrite) NSString *mediaID;

- (void)showInterstitialAd;
- (void)showInterstitialAdWithHexColor:(NSString *)hexColorString;
- (void)dismissInterstitialAd;
@property (nonatomic, copy, readwrite) NSString *hexColorString;

@property (nonatomic, assign, readwrite) id<FSSInterstitialViewDelegate> delegate;

@end

@protocol FSSInterstitialViewDelegate <NSObject>

@optional
- (void)interstitialView:(FSSInterstitialView *)interstitialView callbackType:(FSSInterstitialViewCallbackType)callbackType;
@end
12 changes: 12 additions & 0 deletions FluctSDK/FluctSDK.framework/Headers/FSSNativeTableViewCell.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
//
// FSSNativeTableViewCell.h
// FluctSDK
//
// Copyright © 2017年 fluct, Inc. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface FSSNativeTableViewCell : UITableViewCell
- (void)loadAdWithGroupID:(NSString *)groupID unitID:(NSString *)unitID;
@end
43 changes: 43 additions & 0 deletions FluctSDK/FluctSDK.framework/Headers/FSSNativeView.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
//
// FSSNativeView.h
// FluctSDK
//
// Copyright © 2017年 fluct, Inc. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, FSSErrorType) {
FSSErrorTypeNoAd,
FSSErrorTypeBadRequest,
FSSErrorTypeNetworkConnection,
FSSErrorTypeServerError,
FSSErrorTypeOther
};

typedef NS_ENUM(NSInteger, FSSNativeViewCallbackType) {
FSSNativeViewCallbackTypeLoadFinish,
FSSNativeViewCallbackTypeTap
};

@protocol FSSNativeViewDelegate;

@interface FSSNativeView : UIView <UIWebViewDelegate>

NS_ASSUME_NONNULL_BEGIN
@property (nullable, nonatomic, weak) id<FSSNativeViewDelegate> delegate;

- (id)init __attribute__((unavailable("FSSNativeView's init is not available")));
- (id)initWithFrame:(CGRect)frame;
- (id)initWithFrame:(CGRect)frame groupID:(NSString *)groupID unitID:(NSString *)unitID;

- (void)setGroupID:(NSString *)groupID unitID:(NSString *)unitID;
- (void)loadRequest;
@end

@protocol FSSNativeViewDelegate <NSObject>
@optional
- (void)nativeView:(FSSNativeView *)nativeView callbackType:(FSSNativeViewCallbackType)callbackType;
- (void)nativeView:(FSSNativeView *)nativeView callbackErrorType:(FSSErrorType)callbackErrorType;
@end
NS_ASSUME_NONNULL_END
35 changes: 35 additions & 0 deletions FluctSDK/FluctSDK.framework/Headers/FSSRewardedVideo.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
//
// FSSRewardedVideo.h
// FluctSDK
//
// Copyright © 2017年 fluct, Inc. All rights reserved.
//

#import "FSSAdRequestTargeting.h"
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol FSSRewardedVideoDelegate <NSObject>
@optional
- (void)rewardedVideoShouldRewardForGroupID:(NSString *)groupId unitId:(NSString *)unitId;
- (void)rewardedVideoDidLoadForGroupID:(NSString *)groupId unitId:(NSString *)unitId;
- (void)rewardedVideoDidFailToLoadForGroupId:(NSString *)groupId unitId:(NSString *)unitId error:(NSError *)error;
- (void)rewardedVideoWillAppearForGroupId:(NSString *)groupId unitId:(NSString *)unitId;
- (void)rewardedVideoDidAppearForGroupId:(NSString *)groupId unitId:(NSString *)unitId;
- (void)rewardedVideoWillDisappearForGroupId:(NSString *)groupId unitId:(NSString *)unitId;
- (void)rewardedVideoDidDisappearForGroupId:(NSString *)groupId unitId:(NSString *)unitId;
- (void)rewardedVideoDidFailToPlayForGroupId:(NSString *)groupId unitId:(NSString *)unitId error:(NSError *)error;
@end

@interface FSSRewardedVideo : NSObject
+ (instancetype)sharedInstance;
+ (void)setDelegate:(id<FSSRewardedVideoDelegate>)delegate;
- (void)loadRewardedVideoWithGroupId:(NSString *)groupId unitId:(NSString *)unitId;
- (void)loadRewardedVideoWithGroupId:(NSString *)groupId unitId:(NSString *)unitId targeting:(nullable FSSAdRequestTargeting *)targeting;
- (BOOL)hasAdAvailableForGroupId:(NSString *)groupId unitId:(NSString *)unitId;
- (void)presentRewardedVideoAdForGroupId:(NSString *)groupId unitId:(NSString *)unitId fromViewController:(UIViewController *)viewController;
@end

NS_ASSUME_NONNULL_END
52 changes: 52 additions & 0 deletions FluctSDK/FluctSDK.framework/Headers/FSSRewardedVideoCustomEvent.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
//
// FSSRewardedVideoCustomEvent.h
// FluctSDK
//
// Copyright © 2017年 fluct, Inc. All rights reserved.
//

#import "FSSAdRequestTargeting.h"
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@protocol FSSRewardedVideoCustomEventDelegate;

typedef NS_ENUM(NSInteger, FSSRewardedVideoADNWStatus) {
FSSRewardedVideoADNWStatusNotLoaded,
FSSRewardedVideoADNWStatusLoading,
FSSRewardedVideoADNWStatusLoaded,
FSSRewardedVideoADNWStatusNotDisplayable
};

@interface FSSRewardedVideoCustomEvent : NSObject {
FSSRewardedVideoADNWStatus _adnwStatus;
}

@property (nonatomic, weak) id<FSSRewardedVideoCustomEventDelegate> delegate;
@property (nonatomic, readonly) BOOL testMode;
@property (nonatomic, readonly) BOOL debugMode;

- (instancetype)initWithDictionary:(NSDictionary *)dictionary
delegate:(id<FSSRewardedVideoCustomEventDelegate>)delegate
testMode:(BOOL)testMode
debugMode:(BOOL)debugMode
targeting:(FSSAdRequestTargeting *)targeting;

- (void)loadRewardedVideoWithDictionary:(NSDictionary *)dictionary;
- (FSSRewardedVideoADNWStatus)loadStatus;
- (void)presentRewardedVideoAdFromViewController:(UIViewController *)viewController;
- (NSString *)sdkVersion;
- (void)invalidate;
@end

@protocol FSSRewardedVideoCustomEventDelegate <NSObject>
- (void)rewardedVideoShouldRewardForCustomEvent:(FSSRewardedVideoCustomEvent *)customEvent;
- (void)rewardedVideoDidLoadForCustomEvent:(FSSRewardedVideoCustomEvent *)customEvent;
- (void)rewardedVideoDidFailToLoadForCustomEvent:(FSSRewardedVideoCustomEvent *)customEvent fluctError:(NSError *)fluctError adnetworkError:(NSInteger)adnetworkError;
- (void)rewardedVideoWillAppearForCustomEvent:(FSSRewardedVideoCustomEvent *)customEvent;
- (void)rewardedVideoDidAppearForCustomEvent:(FSSRewardedVideoCustomEvent *)customEvent;
- (void)rewardedVideoWillDisappearForCustomEvent:(FSSRewardedVideoCustomEvent *)customEvent;
- (void)rewardedVideoDidDisappearForCustomEvent:(FSSRewardedVideoCustomEvent *)customEvent;
- (void)rewardedVideoDidFailToPlayForCustomEvent:(FSSRewardedVideoCustomEvent *)customEvent fluctError:(NSError *)fluctError adnetworkError:(NSInteger)adnetworkError;
- (void)rewardedVideoDidClickForCustomEvent:(FSSRewardedVideoCustomEvent *)customEvent;
@end
24 changes: 24 additions & 0 deletions FluctSDK/FluctSDK.framework/Headers/FSSRewardedVideoError.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
//
// FSSRewardedVideoError.h
// FluctSDK
//
// Copyright © 2017年 fluct, Inc. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger, FSSRewardedVideoErrorCode) {
FSSRewardedVideoAdErrorUnknown = -1,

FSSRewardedVideoAdErrorTimeout = -1000,
FSSRewardedVideoAdErrorInitializeFailed = -1001,
FSSRewardedVideoAdErrorLoadFailed = -1002,
FSSRewardedVideoAdErrorNotReady = -1003,
FSSRewardedVideoAdErrorNoAds = -1004,
FSSRewardedVideoAdErrorBadRequest = -1005,
FSSRewardedVideoAdErrorPlayFailed = -1006,
FSSRewardedVideoAdErrorWrongConfiguration = -1007,
FSSRewardedVideoAdErrorNotConnectedToInternet = -1008,
};

extern NSString *const FSSRewardedVideoAdsSDKDomain;
14 changes: 14 additions & 0 deletions FluctSDK/FluctSDK.framework/Headers/FSSRewardedVideoWorkQueue.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
//
// FSSRewardedVideoWorkQueue.h
// FluctSDK
//
// Copyright © 2017年 fluct, Inc. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

extern dispatch_queue_t FSSRewardedVideoWorkQueue();

NS_ASSUME_NONNULL_END
Loading

0 comments on commit c55b8e3

Please sign in to comment.