宽窄优行-由【嘉易行】项目成品而来
younger_times
2023-07-05 0d8f5fc8a516bfd07e425909e4a4432600572ee7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
//
//  UMRemoteConfigEnum.h
//  myFireBase
//
//  Created by 张军华 on 2019/12/30.
//  Copyright © 2019年 张军华. All rights reserved.
//
 
#import <Foundation/Foundation.h>
 
NS_ASSUME_NONNULL_BEGIN
 
/// Indicates whether updated data was successfully fetched.
typedef NS_ENUM(NSInteger, UMRemoteConfigFetchStatus) {
    /// Config has never been fetched.
    UMRemoteConfigFetchStatusNoFetchYet,
    /// Config fetch succeeded.
    UMRemoteConfigFetchStatusSuccess,
    /// Config fetch failed.
    UMRemoteConfigFetchStatusFailure,
    /// Config fetch was throttled.
    UMRemoteConfigFetchStatusThrottled,
};
 
 
/// Indicates whether ActiveStatus in the local data .
typedef NS_ENUM(NSInteger, UMRemoteConfigActiveStatus) {
    UMRemoteConfigActiveStatus_None,
    UMRemoteConfigActiveStatus_Ready,
    UMRemoteConfigActiveStatus_Active,
    UMRemoteConfigActiveStatus_Expiration
};
 
 
 
///// Indicates whether updated data was successfully fetched and activated.
//typedef NS_ENUM(NSInteger, UMRemoteConfigFetchAndActivateStatus) {
//    // The remote fetch succeeded and fetched data was activated.
//    UMRemoteConfigFetchAndActivateStatusSuccessFetchedFromRemote,
//    // The fetch and activate succeeded from already fetched but yet unexpired config data. You can
//    // control this using minimumFetchInterval property in FIRRemoteConfigSettings.
//    UMRemoteConfigFetchAndActivateStatusSuccessUsingPreFetchedData,
//    // The fetch and activate failed.
//    UMRemoteConfigFetchAndActivateStatusError
//};
 
//typedef NS_ENUM(NSInteger, UMRemoteConfigSource) {
//    UMRemoteConfigSourceRemote,   ///< The data source is the Remote Config service.
//    UMRemoteConfigSourceDefault,  ///< The data source is the DefaultConfig defined for this app.
//    UMRemoteConfigSourceStatic,   ///< The data doesn't exist, return a static initialized value.
//};
 
 
NS_ASSUME_NONNULL_END