Proyectos de Subversion Iphone Microlearning

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
/*
2
 * Copyright 2020 Google LLC
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 "GoogleDataTransport/GDTCORLibrary/Public/GoogleDataTransport/GDTCOREvent.h"
18
 
19
NS_ASSUME_NONNULL_BEGIN
20
 
21
/** A string sets in customBytes as a key paired to @YES if current event needs to
22
 * populate network connection info data, @NO otherwise.
23
 */
24
FOUNDATION_EXPORT NSString *const GDTCCTNeedsNetworkConnectionInfo;
25
 
26
/** A string sets in customBytes as a key paired to the network connection info data
27
 * of current event.
28
 */
29
FOUNDATION_EXPORT NSString *const GDTCCTNetworkConnectionInfo;
30
 
31
/** A category that uses the customBytes property of a GDTCOREvent to store network connection info.
32
 */
33
@interface GDTCOREvent (GDTCCTSupport)
34
 
35
/** If YES, needs the network connection info field set during prioritization.
36
 * @note Uses the GDTCOREvent customBytes property.
37
 */
38
@property(nonatomic) BOOL needsNetworkConnectionInfoPopulated;
39
 
40
/** The network connection info as collected at the time of the event.
41
 * @note Uses the GDTCOREvent customBytes property.
42
 */
43
@property(nullable, nonatomic) NSData *networkConnectionInfoData;
44
 
45
/** Code that identifies the event to be sent to the CCT backend.
46
 */
47
@property(nullable, nonatomic) NSNumber *eventCode;
48
 
49
@end
50
 
51
NS_ASSUME_NONNULL_END