-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
许忠洲
committed
Nov 9, 2016
1 parent
4a9fcd4
commit 855e2a8
Showing
51 changed files
with
778 additions
and
691 deletions.
There are no files selected for viewing
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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,27 @@ | ||
// | ||
// STMConstants.h | ||
// SuntengMobileAdsSDK | ||
// | ||
// Created by Joe. | ||
// Copyright © 2016年 Sunteng Information Technology Co., Ltd. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
extern NSString * const STMErrorDomain; | ||
|
||
typedef NS_ENUM(NSInteger, STMErrorCode) { | ||
STMErrorCodeNone = 0, // bidding success | ||
STMErrorCodeNetworkError, // network error | ||
STMErrorCodeResponseError, // response is not a HTTP URL response | ||
STMErrorCodeSystemError, // server system error | ||
STMErrorCodeNoAd, // no ad | ||
STMErrorCodeNoData, // no response data | ||
STMErrorCodeDeserializationError, // deserialize JSON error | ||
STMErrorCodeLoadHTMLFail, // load HTML fail | ||
STMErrorCodeErrorRequest, // error request - HTTP code 204 | ||
STMErrorCodeRefund, // no ad - refund | ||
STMErrorCodeBlank, // no ad - keep blank | ||
STMErrorCodeTimeout, // timeout | ||
STMErrorCodeOther = -1 // other error | ||
}; |
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
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
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
Binary file not shown.
Oops, something went wrong.