| 6 | * tree. An additional intellectual property rights grant can be found |
| 7 | * in the file PATENTS. All contributing project authors may |
| 8 | * be found in the AUTHORS file in the root of the source tree. |
| 9 | */ |
| 10 |
| 11 | package org.webrtc; |
| 12 |
| 13 | import java.lang.annotation.ElementType; |
| 14 | import java.lang.annotation.Retention; |
| 15 | import java.lang.annotation.RetentionPolicy; |
| 16 | import java.lang.annotation.Target; |
| 17 |
| 18 | /** |
| 19 | * @CalledByNative is used by the JNI generator to create the necessary JNI |
| 20 | * bindings and expose this method to native code. |
| 21 | */ |
| 22 | @Target({ElementType.CONSTRUCTOR, ElementType.METHOD}) |
| 23 | @Retention(RetentionPolicy.CLASS) |
| 24 | public @interface CalledByNative { |
| 25 | /* |
| 26 | * If present, tells which inner class the method belongs to. |
| 27 | */ |
| 28 | public String value() default ""; |
| 29 | } |
| 30 |