FIRRemoteConfigValue


@interface FIRRemoteConfigValue : NSObject <NSCopying>

This class provides a wrapper for Remote Config parameter values, with methods to get parameter values as different data types.

  • Gets the value as a string.

    Declaration

    Swift

    var stringValue: String? { get }

    Objective-C

    @property (readonly, nonatomic, nullable) NSString *stringValue;
  • Gets the value as a number value.

    Declaration

    Swift

    var numberValue: NSNumber? { get }

    Objective-C

    @property (readonly, nonatomic, nullable) NSNumber *numberValue;
  • Gets the value as a NSData object.

    Declaration

    Swift

    var dataValue: Data { get }

    Objective-C

    @property (readonly, nonatomic, nonnull) NSData *dataValue;
  • Gets the value as a boolean.

    Declaration

    Swift

    var boolValue: Bool { get }

    Objective-C

    @property (readonly, nonatomic) BOOL boolValue;
  • Identifies the source of the fetched value.

    Declaration

    Swift

    var source: RemoteConfigSource { get }

    Objective-C

    @property (readonly, nonatomic) FIRRemoteConfigSource source;