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

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    @property (readonly, nonatomic) BOOL boolValue;
  • Gets a foundation object (NSDictionary / NSArray) by parsing the value as JSON. This method uses NSJSONSerialization’s JSONObjectWithData method with an options value of 0.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) id JSONValue;
  • Identifies the source of the fetched value.

    Declaration

    Objective-C

    @property (readonly, nonatomic) FIRRemoteConfigSource source;