public abstract class NativeSegmentFetcherSpec extends ReactContextBaseJavaModule implements ReactModuleWithSpec, TurboModule
NativeModule.NativeMethodMETHOD_TYPE_ASYNC, METHOD_TYPE_PROMISE, METHOD_TYPE_SYNC| Constructor and Description |
|---|
NativeSegmentFetcherSpec(ReactApplicationContext reactContext) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
fetchSegment(double segmentId,
ReadableMap options,
Callback callback) |
void |
getSegment(double segmentId,
ReadableMap options,
Callback callback) |
getCurrentActivity, getReactApplicationContext, getReactApplicationContextIfActiveOrWarncanOverrideExistingModule, getConstants, hasConstants, initialize, invalidate, onCatalystInstanceDestroyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinvalidategetNamepublic NativeSegmentFetcherSpec(ReactApplicationContext reactContext)
public abstract void fetchSegment(double segmentId,
ReadableMap options,
Callback callback)
public void getSegment(double segmentId,
ReadableMap options,
Callback callback)