Arguments

open class Arguments

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
This method should be used when you need to stub out creating NativeArrays in unit tests.
Link copied to clipboard
This method should be used when you need to stub out creating NativeMaps in unit tests.
Link copied to clipboard
open fun fromArray(array: Any): WritableArray
Convert an array to a WritableArray.
Link copied to clipboard
open fun fromBundle(bundle: Bundle): WritableMap
Convert a Bundle to a WritableMap.
Link copied to clipboard
Link copied to clipboard
open fun fromList(list: List): WritableArray
Convert a List to a WritableArray.
Link copied to clipboard
This overload is like the above, but uses reflection to operate on any primitive or object type.
This method converts a List into a NativeArray.
Link copied to clipboard
Like the above, but takes a Bundle instead of a Map.
This method converts a Map into a NativeMap.
Link copied to clipboard
open fun toBundle(@Nullable readableMap: ReadableMap): Bundle
Convert a WritableMap to a Bundle.
Link copied to clipboard
open fun toList(@Nullable readableArray: ReadableArray): ArrayList
Convert a WritableArray to a ArrayList.