Example usage for com.facebook.react.bridge Arguments fromBundle

List of usage examples for com.facebook.react.bridge Arguments fromBundle

Introduction

In this page you can find the example usage for com.facebook.react.bridge Arguments fromBundle.

Prototype

public static WritableMap fromBundle(Bundle bundle) 

Source Link

Document

Convert a Bundle to a WritableMap .

Usage

From source file:com.statex.Util.java

License:Open Source License

public static void sendEvent(@NonNull ReactInstanceManager manager, String eventName, @NonNull Bundle bundle) {
    WritableMap map = Arguments.fromBundle(bundle);
    sendEvent(manager, eventName, map);//from   w w  w  . j av a 2s. c  o m
}