commit | author | age
|
df1e8e
|
1 |
/// @file FIRUserPropertyNames.h |
L |
2 |
/// |
|
3 |
/// Predefined user property names. |
|
4 |
/// |
|
5 |
/// A UserProperty is an attribute that describes the app-user. By supplying UserProperties, you can |
|
6 |
/// later analyze different behaviors of various segments of your userbase. You may supply up to 25 |
|
7 |
/// unique UserProperties per app, and you can use the name and value of your choosing for each one. |
|
8 |
/// UserProperty names can be up to 24 characters long, may only contain alphanumeric characters and |
|
9 |
/// underscores ("_"), and must start with an alphabetic character. UserProperty values can be up to |
|
10 |
/// 36 characters long. The "firebase_", "google_", and "ga_" prefixes are reserved and should not |
|
11 |
/// be used. |
|
12 |
|
|
13 |
#import <Foundation/Foundation.h> |
|
14 |
|
|
15 |
/// The method used to sign in. For example, "google", "facebook" or "twitter". |
|
16 |
static NSString *const kFIRUserPropertySignUpMethod |
|
17 |
NS_SWIFT_NAME(AnalyticsUserPropertySignUpMethod) = @"sign_up_method"; |
|
18 |
|
|
19 |
/// Indicates whether events logged by Google Analytics can be used to personalize ads for the user. |
|
20 |
/// Set to "YES" to enable, or "NO" to disable. Default is enabled. See the |
|
21 |
/// <a href="https://firebase.google.com/support/guides/disable-analytics">documentation</a> for |
|
22 |
/// more details and information about related settings. |
|
23 |
/// |
|
24 |
/// <pre> |
|
25 |
/// [FIRAnalytics setUserPropertyString:@"NO" |
|
26 |
/// forName:kFIRUserPropertyAllowAdPersonalizationSignals]; |
|
27 |
/// </pre> |
|
28 |
static NSString *const kFIRUserPropertyAllowAdPersonalizationSignals |
|
29 |
NS_SWIFT_NAME(AnalyticsUserPropertyAllowAdPersonalizationSignals) = @"allow_personalized_ads"; |