Package tvi.webrtc

Annotation Type 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
      java.lang.String value  
    • Element Detail

      • value

        java.lang.String value
        Default:
        ""