alexandroid/decompiled/jadx/sources/com/facebook/react/views/switchview/ReactSwitchEvent.java
KaKi87 a47fad5135 📦 Add decompiled Alexa 2.2.730155.0 (jadx, apktool, Hermes strings)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 00:04:16 +01:00

62 lines
3.5 KiB
Java

package com.facebook.react.views.switchview;
import com.facebook.react.bridge.Arguments;
import com.facebook.react.bridge.WritableMap;
import com.facebook.react.uimanager.events.Event;
import kotlin.Deprecated;
import kotlin.Metadata;
import kotlin.ReplaceWith;
import kotlin.jvm.internal.DefaultConstructorMarker;
import org.jetbrains.annotations.NotNull;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
@Metadata(d1 = {"\u0000(\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\u0004\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0000\u0018\u0000 \u000e2\b\u0012\u0004\u0012\u00020\u00000\u0001:\u0001\u000eB\u001f\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0006¢\u0006\u0004\b\u0007\u0010\bB\u0019\b\u0017\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0006¢\u0006\u0004\b\u0007\u0010\tJ\b\u0010\n\u001a\u00020\u000bH\u0016J\b\u0010\f\u001a\u00020\rH\u0016R\u000e\u0010\u0005\u001a\u00020\u0006X\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006\u000f"}, d2 = {"Lcom/facebook/react/views/switchview/ReactSwitchEvent;", "Lcom/facebook/react/uimanager/events/Event;", "surfaceId", "", "viewId", "isChecked", "", "<init>", "(IIZ)V", "(IZ)V", "getEventName", "", "getEventData", "Lcom/facebook/react/bridge/WritableMap;", "Companion", "ReactAndroid_release"}, k = 1, mv = {2, 1, 0}, xi = 48)
/* loaded from: classes7.dex */
public final class ReactSwitchEvent extends Event<ReactSwitchEvent> {
@NotNull
private static final Companion Companion = new Companion(null);
@NotNull
private static final String EVENT_NAME = "topChange";
private final boolean isChecked;
public ReactSwitchEvent(int i, int i2, boolean z) {
super(i, i2);
this.isChecked = z;
}
@Override // com.facebook.react.uimanager.events.Event
@NotNull
/* renamed from: getEventData */
public WritableMap getData() {
WritableMap createMap = Arguments.createMap();
createMap.getClass();
createMap.putInt("target", getViewTag());
createMap.putBoolean("value", this.isChecked);
return createMap;
}
@Override // com.facebook.react.uimanager.events.Event
@NotNull
/* renamed from: getEventName */
public String getName() {
return "topChange";
}
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
@Metadata(d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0000\b\u0082\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003R\u000e\u0010\u0004\u001a\u00020\u0005X\u0082T¢\u0006\u0002\n\u0000¨\u0006\u0006"}, d2 = {"Lcom/facebook/react/views/switchview/ReactSwitchEvent$Companion;", "", "<init>", "()V", "EVENT_NAME", "", "ReactAndroid_release"}, k = 1, mv = {2, 1, 0}, xi = 48)
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
@Deprecated(message = "Use the constructor with surfaceId, viewId and isChecked parameters.", replaceWith = @ReplaceWith(expression = "ReactSwitchEvent(surfaceId, viewId, isChecked)", imports = {}))
public ReactSwitchEvent(int i, boolean z) {
this(-1, i, z);
}
}