commit | author | age
|
a6c014
|
1 |
/* |
L |
2 |
* Copyright 2019 Google |
|
3 |
* |
|
4 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
5 |
* you may not use this file except in compliance with the License. |
|
6 |
* You may obtain a copy of the License at |
|
7 |
* |
|
8 |
* http://www.apache.org/licenses/LICENSE-2.0 |
|
9 |
* |
|
10 |
* Unless required by applicable law or agreed to in writing, software |
|
11 |
* distributed under the License is distributed on an "AS IS" BASIS, |
|
12 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
13 |
* See the License for the specific language governing permissions and |
|
14 |
* limitations under the License. |
|
15 |
*/ |
|
16 |
|
|
17 |
#import <Foundation/Foundation.h> |
|
18 |
|
|
19 |
NS_ASSUME_NONNULL_BEGIN |
|
20 |
|
|
21 |
/** If present, is a BOOL wrapped in an NSNumber. */ |
|
22 |
#define kFIRCDIsDataCollectionDefaultEnabledKey @"FIRCDIsDataCollectionDefaultEnabledKey" |
|
23 |
|
|
24 |
/** If present, is an int32_t wrapped in an NSNumber. */ |
|
25 |
#define kFIRCDConfigurationTypeKey @"FIRCDConfigurationTypeKey" |
|
26 |
|
|
27 |
/** If present, is an NSString. */ |
|
28 |
#define kFIRCDSdkNameKey @"FIRCDSdkNameKey" |
|
29 |
|
|
30 |
/** If present, is an NSString. */ |
|
31 |
#define kFIRCDSdkVersionKey @"FIRCDSdkVersionKey" |
|
32 |
|
|
33 |
/** If present, is an int32_t wrapped in an NSNumber. */ |
|
34 |
#define kFIRCDllAppsCountKey @"FIRCDllAppsCountKey" |
|
35 |
|
|
36 |
/** If present, is an NSString. */ |
|
37 |
#define kFIRCDGoogleAppIDKey @"FIRCDGoogleAppIDKey" |
|
38 |
|
|
39 |
/** If present, is an NSString. */ |
|
40 |
#define kFIRCDBundleIDKey @"FIRCDBundleID" |
|
41 |
|
|
42 |
/** If present, is a BOOL wrapped in an NSNumber. */ |
|
43 |
#define kFIRCDUsingOptionsFromDefaultPlistKey @"FIRCDUsingOptionsFromDefaultPlistKey" |
|
44 |
|
|
45 |
/** If present, is an NSString. */ |
|
46 |
#define kFIRCDLibraryVersionIDKey @"FIRCDLibraryVersionIDKey" |
|
47 |
|
|
48 |
/** If present, is an NSString. */ |
|
49 |
#define kFIRCDFirebaseUserAgentKey @"FIRCDFirebaseUserAgentKey" |
|
50 |
|
|
51 |
/** Defines the interface of a data object needed to log diagnostics data. */ |
|
52 |
@protocol FIRCoreDiagnosticsData <NSObject> |
|
53 |
|
|
54 |
@required |
|
55 |
|
|
56 |
/** A dictionary containing data (non-exhaustive) to be logged in diagnostics. */ |
|
57 |
@property(nonatomic) NSDictionary<NSString *, id> *diagnosticObjects; |
|
58 |
|
|
59 |
@end |
|
60 |
|
|
61 |
NS_ASSUME_NONNULL_END |