0.0.2 • Published 8 years ago

react-native-mic-util v0.0.2

Weekly downloads
5
License
MIT
Repository
github
Last release
8 years ago

react-native-mic-util

useage

import {
  NativeModules,
  DeviceEventEmitter
} from 'react-native';

var bGNativeModuleExample = NativeModules.BGNativeModuleExample;

bGNativeModuleExample.getNativeClass(name => {
  console.log("nativeClass: ", name);
});

//接收事件 now is only in ios
DeviceEventEmitter.addListener(bGNativeModuleExample.TestEventName, info => {
  console.log(info);
});