Public Member Functions | Private Attributes | Static Private Attributes | List of all members
ai.picovoice.reactnative.rhino.RhinoModule Class Reference
Inheritance diagram for ai.picovoice.reactnative.rhino.RhinoModule:
Inheritance graph
[legend]

Public Member Functions

void create (String accessKey, String modelPath, String contextPath, Float sensitivity, Boolean requireEndpoint, Promise promise)
 
void delete (String handle)
 
String getName ()
 
void process (String handle, ReadableArray pcmArray, Promise promise)
 
 RhinoModule (ReactApplicationContext reactContext)
 

Private Attributes

final ReactApplicationContext reactContext
 
final Map< String, RhinorhinoPool = new HashMap<String, Rhino>()
 

Static Private Attributes

static final String LOG_TAG = "PvRhino"
 

Detailed Description

Definition at line 31 of file RhinoModule.java.

Constructor & Destructor Documentation

◆ RhinoModule()

ai.picovoice.reactnative.rhino.RhinoModule.RhinoModule ( ReactApplicationContext  reactContext)
inline

Definition at line 38 of file RhinoModule.java.

Member Function Documentation

◆ create()

void ai.picovoice.reactnative.rhino.RhinoModule.create ( String  accessKey,
String  modelPath,
String  contextPath,
Float  sensitivity,
Boolean  requireEndpoint,
Promise  promise 
)
inline

Definition at line 49 of file RhinoModule.java.

◆ delete()

void ai.picovoice.reactnative.rhino.RhinoModule.delete ( String  handle)
inline

Definition at line 76 of file RhinoModule.java.

◆ getName()

String ai.picovoice.reactnative.rhino.RhinoModule.getName ( )
inline

Definition at line 44 of file RhinoModule.java.

◆ process()

void ai.picovoice.reactnative.rhino.RhinoModule.process ( String  handle,
ReadableArray  pcmArray,
Promise  promise 
)
inline

Definition at line 84 of file RhinoModule.java.

Member Data Documentation

◆ LOG_TAG

final String ai.picovoice.reactnative.rhino.RhinoModule.LOG_TAG = "PvRhino"
staticprivate

Definition at line 33 of file RhinoModule.java.

◆ reactContext

final ReactApplicationContext ai.picovoice.reactnative.rhino.RhinoModule.reactContext
private

Definition at line 35 of file RhinoModule.java.

◆ rhinoPool

final Map<String, Rhino> ai.picovoice.reactnative.rhino.RhinoModule.rhinoPool = new HashMap<String, Rhino>()
private

Definition at line 36 of file RhinoModule.java.


The documentation for this class was generated from the following file:


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:20