TCGBPushConfiguration Class Reference
Inherits from | NSObject |
---|---|
Declared in | TCGBPush.h |
Properties
ADAgreement
Agreement of getting advertising push
@property (nonatomic, assign) BOOL ADAgreement
Declared In
TCGBPush.h
ADAgreementNight
Agreement of getting advertising push at night
@property (nonatomic, assign) BOOL ADAgreementNight
Declared In
TCGBPush.h
Initialization
+ pushConfigurationWithPushEnable:ADAgreement:ADAgreementNight:
Creates a TCGBPushConfiguration instance with several properties.
+ (TCGBPushConfiguration *)pushConfigurationWithPushEnable:(BOOL)enable ADAgreement:(BOOL)ADAgree ADAgreementNight:(BOOL)ADAgreeNight
Parameters
enable |
whether push enable or not. |
---|---|
ADAgree |
|
ADAgreeNight |
|
Declared In
TCGBPush.h
+ pushConfigurationWithJSONString:
Creates a TCGBPushConfiguration instance with several properties.
+ (TCGBPushConfiguration *)pushConfigurationWithJSONString:(NSString *)jsonString
Parameters
jsonString |
In this string, there should be |
---|
Declared In
TCGBPush.h
– JSONString
Below two methods would be deprecated and deleted… check it now.
- (NSString *)JSONString
Declared In
TCGBPush.h