public abstract class NativeSegmentFetcherSpec extends ReactContextBaseJavaModule implements ReactModuleWithSpec, TurboModule
NativeModule.NativeMethod
METHOD_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, getReactApplicationContextIfActiveOrWarn
canOverrideExistingModule, getConstants, hasConstants, initialize, invalidate, onCatalystInstanceDestroy
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
invalidate
getName
public NativeSegmentFetcherSpec(ReactApplicationContext reactContext)
public abstract void fetchSegment(double segmentId, ReadableMap options, Callback callback)
public void getSegment(double segmentId, ReadableMap options, Callback callback)