diff --git a/ReactAndroid/src/main/java/com/facebook/react/fabric/ReactNativeConfig.java b/ReactAndroid/src/main/java/com/facebook/react/fabric/ReactNativeConfig.java index ae180b5fb5e..d837df5c122 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/fabric/ReactNativeConfig.java +++ b/ReactAndroid/src/main/java/com/facebook/react/fabric/ReactNativeConfig.java @@ -8,8 +8,31 @@ package com.facebook.react.fabric; // This is a wrapper for the ReactNativeConfig object in C++ public interface ReactNativeConfig { + /** + * Get a boolean param by string name. Default should be false. + * + * @param param The string name of the parameter being requested. + */ boolean getBool(String param); + + /** + * Get an integer param by string name. Default should be 0. + * + * @param param The string name of the parameter being requested. + */ int getInt64(String param); + + /** + * Get a string param by string name. Default should be "", empty string. + * + * @param param The string name of the parameter being requested. + */ String getString(String param); + + /** + * Get a double param by string name. Default should be 0. + * + * @param param The string name of the parameter being requested. + */ double getDouble(String param); }