alexandroid/decompiled/jadx/sources/com/amazon/dee/app/elements/ReactFeatureBuilder.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

42 lines
1.2 KiB
Java

package com.amazon.dee.app.elements;
import android.os.Bundle;
import android.text.TextUtils;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.common.base.Preconditions;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
/* loaded from: classes3.dex */
public class ReactFeatureBuilder {
@Nullable
String appName;
@Nullable
String instanceId;
@Nullable
Bundle launchOptions;
public ReactFeature build() {
Preconditions.checkNotNull(this.instanceId, "Instance ID cannot be null");
Preconditions.checkArgument(!TextUtils.isEmpty(this.appName), "AppName cannot be empty.");
return new ReactFeatureImpl(this.instanceId, this.appName, this.launchOptions);
}
public ReactFeatureBuilder withAppName(@NonNull String str) {
this.appName = str;
return this;
}
public ReactFeatureBuilder withInstanceId(@NonNull String str) {
this.instanceId = str;
return this;
}
public ReactFeatureBuilder withLaunchOptions(@NonNull Bundle bundle) {
this.launchOptions = bundle;
return this;
}
}