Class FDv2SourceResult
java.lang.Object
com.launchdarkly.sdk.android.subsystems.FDv2SourceResult
Result type for FDv2 initializers and synchronizers. An initializer produces a single result;
a synchronizer produces a stream of results.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classStatus payload for STATUS results. -
Method Summary
Modifier and TypeMethodDescriptionstatic FDv2SourceResultchangeSet(ChangeSet<Map<String, DataModel.Flag>> changeSet, boolean fdv1Fallback) booleanTrue if the server indicated that the SDK should fall back to FDv1 data sources via thex-ld-fd-fallbackresponse header.static FDv2SourceResultstatus(FDv2SourceResult.Status status, boolean fdv1Fallback)
-
Method Details
-
changeSet
@NonNull public static FDv2SourceResult changeSet(@NonNull ChangeSet<Map<String, DataModel.Flag>> changeSet, boolean fdv1Fallback) -
status
@NonNull public static FDv2SourceResult status(@NonNull FDv2SourceResult.Status status, boolean fdv1Fallback) -
getResultType
-
getChangeSet
-
getStatus
-
isFdv1Fallback
public boolean isFdv1Fallback()True if the server indicated that the SDK should fall back to FDv1 data sources via thex-ld-fd-fallbackresponse header.
-