TCGBPushConfiguration Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | TCGBPushConfiguration.h |
Properties
pushEnabled
Enable push
@property (nonatomic, assign) BOOL pushEnabledDeclared In
TCGBPushConfiguration.h
ADAgreement
Agreement of getting advertising push
@property (nonatomic, assign) BOOL ADAgreementDeclared In
TCGBPushConfiguration.h
ADAgreementNight
Agreement of getting advertising push at night
@property (nonatomic, assign) BOOL ADAgreementNightDeclared In
TCGBPushConfiguration.h
displayLanguageCode
Setting language of Push Message
@property (nonatomic, strong, nullable) NSString *displayLanguageCodeDeclared In
TCGBPushConfiguration.h
alwaysAllowTokenRegistration
Set whether to register a token even if permission to allow notifications is not obtained.
@property (nonatomic, assign) BOOL alwaysAllowTokenRegistrationDiscussion
Warning: Default value is NO.
Declared In
TCGBPushConfiguration.h
Initialization
+ pushConfigurationWithPushEnable:ADAgreement:ADAgreementNight:
Creates a TCGBPushConfiguration instance with several properties.
+ (instancetype)pushConfigurationWithPushEnable:(BOOL)enable ADAgreement:(BOOL)ADAgree ADAgreementNight:(BOOL)ADAgreeNightParameters
enable |
whether push enable or not. |
|---|---|
ADAgree |
|
ADAgreeNight |
|
Declared In
TCGBPushConfiguration.h
+ pushConfigurationWithPushEnable:ADAgreement:ADAgreementNight:alwaysAllowTokenRegistration:
Creates a TCGBPushConfiguration instance with several properties.
+ (instancetype)pushConfigurationWithPushEnable:(BOOL)enable ADAgreement:(BOOL)ADAgree ADAgreementNight:(BOOL)ADAgreeNight alwaysAllowTokenRegistration:(BOOL)alwaysAllowTokenRegistrationParameters
enable |
whether push enable or not. |
|---|---|
ADAgree |
|
ADAgreeNight |
|
alwaysAllowTokenRegistration |
When set to |
Declared In
TCGBPushConfiguration.h
+ pushConfigurationWithPushEnable:ADAgreement:ADAgreementNight:displayLanguage:
Creates a TCGBPushConfiguration instance with several properties.
+ (instancetype)pushConfigurationWithPushEnable:(BOOL)enable ADAgreement:(BOOL)ADAgree ADAgreementNight:(BOOL)ADAgreeNight displayLanguage:(nullable NSString *)displayLanguageParameters
enable |
whether push enable or not. |
|---|---|
ADAgree |
|
ADAgreeNight |
|
displayLanguage |
set language code for Push. (kTCPushKeyLanguage in NHNCloud Push SDK) |
Declared In
TCGBPushConfiguration.h
+ pushConfigurationWithPushEnable:ADAgreement:ADAgreementNight:displayLanguage:alwaysAllowTokenRegistration:
Creates a TCGBPushConfiguration instance with several properties.
+ (instancetype)pushConfigurationWithPushEnable:(BOOL)enable ADAgreement:(BOOL)ADAgree ADAgreementNight:(BOOL)ADAgreeNight displayLanguage:(nullable NSString *)displayLanguage alwaysAllowTokenRegistration:(BOOL)alwaysAllowTokenRegistrationParameters
enable |
whether push enable or not. |
|---|---|
ADAgree |
|
ADAgreeNight |
|
displayLanguage |
set language code for Push. (kTCPushKeyLanguage in NHNCloud Push SDK) |
alwaysAllowTokenRegistration |
When set to |
Declared In
TCGBPushConfiguration.h
+ pushConfigurationWithJSONString:
Creates a TCGBPushConfiguration instance with several properties.
+ (nullable instancetype)pushConfigurationWithJSONString:(NSString *)jsonStringParameters
jsonString |
In this string, there should be |
|---|
Declared In
TCGBPushConfiguration.h