android: make onExternalAPIEvent protected
This commit is contained in:
parent
59b00d022b
commit
20edb7c279
|
@ -170,7 +170,7 @@ public abstract class BaseReactView<ListenerT>
|
||||||
* @param data - The details of the event associated with/specific to the
|
* @param data - The details of the event associated with/specific to the
|
||||||
* specified {@code name}.
|
* specified {@code name}.
|
||||||
*/
|
*/
|
||||||
public abstract void onExternalAPIEvent(String name, ReadableMap data);
|
protected abstract void onExternalAPIEvent(String name, ReadableMap data);
|
||||||
|
|
||||||
protected void onExternalAPIEvent(
|
protected void onExternalAPIEvent(
|
||||||
Map<String, Method> listenerMethods,
|
Map<String, Method> listenerMethods,
|
||||||
|
|
|
@ -185,7 +185,7 @@ public class JitsiMeetView extends BaseReactView<JitsiMeetViewListener> {
|
||||||
* by/associated with the specified {@code name}.
|
* by/associated with the specified {@code name}.
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void onExternalAPIEvent(String name, ReadableMap data) {
|
protected void onExternalAPIEvent(String name, ReadableMap data) {
|
||||||
// XXX The JitsiMeetView property URL was introduced in order to address
|
// XXX The JitsiMeetView property URL was introduced in order to address
|
||||||
// an exception in the Picture-in-Picture functionality which arose
|
// an exception in the Picture-in-Picture functionality which arose
|
||||||
// because of delays related to bridging between JavaScript and Java. To
|
// because of delays related to bridging between JavaScript and Java. To
|
||||||
|
|
|
@ -50,7 +50,7 @@ public class IncomingCallView
|
||||||
* by/associated with the specified {@code name}.
|
* by/associated with the specified {@code name}.
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void onExternalAPIEvent(String name, ReadableMap data) {
|
protected void onExternalAPIEvent(String name, ReadableMap data) {
|
||||||
onExternalAPIEvent(LISTENER_METHODS, name, data);
|
onExternalAPIEvent(LISTENER_METHODS, name, data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue