• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  *  Copyright 2017 The WebRTC project authors. All Rights Reserved.
3  *
4  *  Use of this source code is governed by a BSD-style license
5  *  that can be found in the LICENSE file in the root of the source
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    */
value()28   public String value() default "";
29 }
30