TCGBConfiguration Class Reference
Inherits from | NSObject |
---|---|
Declared in | TCGBConfiguration.h |
Properties
appID
ApplicationID which is Toast Cloud Project ID.
@property (nonatomic, strong) NSString *appID
Declared In
TCGBConfiguration.h
appVersion
Application Version that is registered at Toast Cloud Console.
@property (nonatomic, strong) NSString *appVersion
Declared In
TCGBConfiguration.h
zoneType
Zone Type that is nomally “REAL”.
@property (nonatomic, strong) NSString *zoneType
Declared In
TCGBConfiguration.h
serverAddress
Server Address which your application communicates with.
@property (nonatomic, strong, readonly) NSURL *serverAddress
Declared In
TCGBConfiguration.h
options
Extra Options such as whether Showing Blocking PopUp enabled or not.
@property (nonatomic, strong) NSMutableDictionary *options
Declared In
TCGBConfiguration.h
Initialization
+ configurationWithAppID:appVersion:
Creates TCGBConfiguration instance
+ (TCGBConfiguration *)configurationWithAppID:(NSString *)appID appVersion:(NSString *)appVersion
Parameters
appID |
ApplicationID which is Toast Cloud Project ID. |
---|---|
appVersion |
Application Version that is registered at Toast Cloud Console. |
Declared In
TCGBConfiguration.h
+ configurationWithAppID:appVersion:zoneType:
Creates TCGBConfiguration instance
+ (TCGBConfiguration *)configurationWithAppID:(NSString *)appID appVersion:(NSString *)appVersion zoneType:(NSString *)zoneType
Parameters
appID |
ApplicationID which is Toast Cloud Project ID. |
---|---|
appVersion |
Application Version that is registered at Toast Cloud Console. |
zoneType |
Zone Type that is nomally “REAL”. It is only used to ToastCloud Beta/Alaha Test. |
Declared In
TCGBConfiguration.h
Setting Options
– enableLaunchingStatusPopup:
Enable Show Blocking PopUp. Default set value is enable status popup.
- (void)enableLaunchingStatusPopup:(BOOL)enable
Parameters
enable |
|
---|
Declared In
TCGBConfiguration.h
– isEnableLaunchingStatusPopup
Methord that returns whether the popup will be show or not.
- (BOOL)isEnableLaunchingStatusPopup
Return Value
Boolean value that whether the popup will be show.
Declared In
TCGBConfiguration.h
– setStoreCode:
StoreCode that is needed when using purchasing APIs.
- (void)setStoreCode:(NSString *)storeCode
Parameters
storeCode |
It represent storeCode, actually “AS”(AppStore). |
---|
Discussion
Warning: If you did not set this value, default will set to AS(AppStore).
Declared In
TCGBConfiguration.h
– storeCode
StoreCode that is needed when using purchasing APIs.
- (NSString *)storeCode
Return Value
StoreCode that is needed when using purchasing APIs.
Declared In
TCGBConfiguration.h