devsite/tools/jazzy/templates

FirebaseRemoteConfig Framework Reference

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 (nonatomic, readonly, nonnull) NSString *stringValue;
  • Gets the value as a number value.

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    @property (nonatomic, readonly) 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 (nonatomic, readonly, nullable) id JSONValue;
  • Identifies the source of the fetched value.

    Declaration

    Objective-C

    @property (nonatomic, readonly) FIRRemoteConfigSource source;