Bläddra i källkod

android: make onExternalAPIEvent protected

master
Saúl Ibarra Corretgé 6 år sedan
förälder
incheckning
20edb7c279

+ 1
- 1
android/sdk/src/main/java/org/jitsi/meet/sdk/BaseReactView.java Visa fil

170
      * @param data - The details of the event associated with/specific to the
170
      * @param data - The details of the event associated with/specific to the
171
      * specified {@code name}.
171
      * specified {@code name}.
172
      */
172
      */
173
-    public abstract void onExternalAPIEvent(String name, ReadableMap data);
173
+    protected abstract void onExternalAPIEvent(String name, ReadableMap data);
174
 
174
 
175
     protected void onExternalAPIEvent(
175
     protected void onExternalAPIEvent(
176
             Map<String, Method> listenerMethods,
176
             Map<String, Method> listenerMethods,

+ 1
- 1
android/sdk/src/main/java/org/jitsi/meet/sdk/JitsiMeetView.java Visa fil

185
      * by/associated with the specified {@code name}.
185
      * by/associated with the specified {@code name}.
186
      */
186
      */
187
     @Override
187
     @Override
188
-    public void onExternalAPIEvent(String name, ReadableMap data) {
188
+    protected void onExternalAPIEvent(String name, ReadableMap data) {
189
         // XXX The JitsiMeetView property URL was introduced in order to address
189
         // XXX The JitsiMeetView property URL was introduced in order to address
190
         // an exception in the Picture-in-Picture functionality which arose
190
         // an exception in the Picture-in-Picture functionality which arose
191
         // because of delays related to bridging between JavaScript and Java. To
191
         // because of delays related to bridging between JavaScript and Java. To

+ 1
- 1
android/sdk/src/main/java/org/jitsi/meet/sdk/incoming_call/IncomingCallView.java Visa fil

50
      * by/associated with the specified {@code name}.
50
      * by/associated with the specified {@code name}.
51
      */
51
      */
52
     @Override
52
     @Override
53
-    public void onExternalAPIEvent(String name, ReadableMap data) {
53
+    protected void onExternalAPIEvent(String name, ReadableMap data) {
54
         onExternalAPIEvent(LISTENER_METHODS, name, data);
54
         onExternalAPIEvent(LISTENER_METHODS, name, data);
55
     }
55
     }
56
 
56
 

Laddar…
Avbryt
Spara