Package tvi.webrtc

Annotation Interface CalledByNativeUnchecked


@Target(METHOD) @Retention(CLASS) public @interface CalledByNativeUnchecked
CalledByNativeUnchecked is used to generate JNI bindings that do not check for exceptions. It only makes sense to use this annotation on methods that declare a throws... spec. However, note that the exception received native side maybe an 'unchecked' (RuntimeExpception) such as NullPointerException, so the native code should differentiate these cases. Usage of this should be very rare; where possible handle exceptions in the Java side and use a return value to indicate success / failure.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • value

      String value
      Default:
      ""