You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: android/api/android.api
+38-3Lines changed: 38 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -63,12 +63,14 @@ public abstract interface class dev/openfeature/sdk/FeatureProvider {
63
63
public abstract fun getObjectEvaluation (Ljava/lang/String;Ldev/openfeature/sdk/Value;Ldev/openfeature/sdk/EvaluationContext;)Ldev/openfeature/sdk/ProviderEvaluation;
64
64
public abstract fun getStringEvaluation (Ljava/lang/String;Ljava/lang/String;Ldev/openfeature/sdk/EvaluationContext;)Ldev/openfeature/sdk/ProviderEvaluation;
65
65
public abstract fun initialize (Ldev/openfeature/sdk/EvaluationContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
66
+
public abstract fun observe ()Lkotlinx/coroutines/flow/Flow;
66
67
public abstract fun onContextSet (Ldev/openfeature/sdk/EvaluationContext;Ldev/openfeature/sdk/EvaluationContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
67
68
public abstract fun shutdown ()V
68
69
public abstract fun track (Ljava/lang/String;Ldev/openfeature/sdk/EvaluationContext;Ldev/openfeature/sdk/TrackingEventDetails;)V
69
70
}
70
71
71
72
public final class dev/openfeature/sdk/FeatureProvider$DefaultImpls {
73
+
public static fun observe (Ldev/openfeature/sdk/FeatureProvider;)Lkotlinx/coroutines/flow/Flow;
72
74
public static fun track (Ldev/openfeature/sdk/FeatureProvider;Ljava/lang/String;Ldev/openfeature/sdk/EvaluationContext;Ldev/openfeature/sdk/TrackingEventDetails;)V
73
75
}
74
76
@@ -237,6 +239,7 @@ public class dev/openfeature/sdk/NoOpProvider : dev/openfeature/sdk/FeatureProvi
237
239
public fun getObjectEvaluation (Ljava/lang/String;Ldev/openfeature/sdk/Value;Ldev/openfeature/sdk/EvaluationContext;)Ldev/openfeature/sdk/ProviderEvaluation;
238
240
public fun getStringEvaluation (Ljava/lang/String;Ljava/lang/String;Ldev/openfeature/sdk/EvaluationContext;)Ldev/openfeature/sdk/ProviderEvaluation;
239
241
public fun initialize (Ldev/openfeature/sdk/EvaluationContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
242
+
public fun observe ()Lkotlinx/coroutines/flow/Flow;
240
243
public fun onContextSet (Ldev/openfeature/sdk/EvaluationContext;Ldev/openfeature/sdk/EvaluationContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
241
244
public fun shutdown ()V
242
245
public fun track (Ljava/lang/String;Ldev/openfeature/sdk/EvaluationContext;Ldev/openfeature/sdk/TrackingEventDetails;)V
@@ -264,15 +267,16 @@ public final class dev/openfeature/sdk/OpenFeatureAPI {
264
267
public final fun getHooks ()Ljava/util/List;
265
268
public final fun getProvider ()Ldev/openfeature/sdk/FeatureProvider;
266
269
public final fun getProviderMetadata ()Ldev/openfeature/sdk/ProviderMetadata;
270
+
public final fun getProvidersFlow ()Lkotlinx/coroutines/flow/Flow;
267
271
public final fun getStatus ()Ldev/openfeature/sdk/OpenFeatureStatus;
268
272
public final fun getStatusFlow ()Lkotlinx/coroutines/flow/Flow;
269
273
public final fun setEvaluationContext (Ldev/openfeature/sdk/EvaluationContext;Lkotlinx/coroutines/CoroutineDispatcher;)V
270
274
public static synthetic fun setEvaluationContext$default (Ldev/openfeature/sdk/OpenFeatureAPI;Ldev/openfeature/sdk/EvaluationContext;Lkotlinx/coroutines/CoroutineDispatcher;ILjava/lang/Object;)V
271
275
public final fun setEvaluationContextAndWait (Ldev/openfeature/sdk/EvaluationContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
272
276
public final fun setProvider (Ldev/openfeature/sdk/FeatureProvider;Lkotlinx/coroutines/CoroutineDispatcher;Ldev/openfeature/sdk/EvaluationContext;)V
273
277
public static synthetic fun setProvider$default (Ldev/openfeature/sdk/OpenFeatureAPI;Ldev/openfeature/sdk/FeatureProvider;Lkotlinx/coroutines/CoroutineDispatcher;Ldev/openfeature/sdk/EvaluationContext;ILjava/lang/Object;)V
274
-
public final fun setProviderAndWait (Ldev/openfeature/sdk/FeatureProvider;Ldev/openfeature/sdk/EvaluationContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
275
-
public static synthetic fun setProviderAndWait$default (Ldev/openfeature/sdk/OpenFeatureAPI;Ldev/openfeature/sdk/FeatureProvider;Ldev/openfeature/sdk/EvaluationContext;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
278
+
public final fun setProviderAndWait (Ldev/openfeature/sdk/FeatureProvider;Ldev/openfeature/sdk/EvaluationContext;Lkotlinx/coroutines/CoroutineDispatcher;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
279
+
public static synthetic fun setProviderAndWait$default (Ldev/openfeature/sdk/OpenFeatureAPI;Ldev/openfeature/sdk/FeatureProvider;Ldev/openfeature/sdk/EvaluationContext;Lkotlinx/coroutines/CoroutineDispatcher;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
276
280
public final fun shutdown ()V
277
281
}
278
282
@@ -325,7 +329,8 @@ public final class dev/openfeature/sdk/OpenFeatureStatus$Error : dev/openfeature
325
329
}
326
330
327
331
public final class dev/openfeature/sdk/OpenFeatureStatus$Fatal : dev/openfeature/sdk/OpenFeatureStatus {
328
-
public static final field INSTANCE Ldev/openfeature/sdk/OpenFeatureStatus$Fatal;
332
+
public fun <init> (Ldev/openfeature/sdk/exceptions/OpenFeatureError;)V
333
+
public final fun getError ()Ldev/openfeature/sdk/exceptions/OpenFeatureError;
329
334
}
330
335
331
336
public final class dev/openfeature/sdk/OpenFeatureStatus$NotReady : dev/openfeature/sdk/OpenFeatureStatus {
@@ -589,6 +594,36 @@ public final class dev/openfeature/sdk/Value$Structure : dev/openfeature/sdk/Val
589
594
public fun toString ()Ljava/lang/String;
590
595
}
591
596
597
+
public abstract interface class dev/openfeature/sdk/events/OpenFeatureProviderEvents {
598
+
}
599
+
600
+
public final class dev/openfeature/sdk/events/OpenFeatureProviderEvents$ProviderConfigurationChanged : dev/openfeature/sdk/events/OpenFeatureProviderEvents {
601
+
public static final field INSTANCE Ldev/openfeature/sdk/events/OpenFeatureProviderEvents$ProviderConfigurationChanged;
602
+
}
603
+
604
+
public final class dev/openfeature/sdk/events/OpenFeatureProviderEvents$ProviderError : dev/openfeature/sdk/events/OpenFeatureProviderEvents {
605
+
public fun <init> (Ldev/openfeature/sdk/exceptions/OpenFeatureError;)V
606
+
public final fun component1 ()Ldev/openfeature/sdk/exceptions/OpenFeatureError;
607
+
public final fun copy (Ldev/openfeature/sdk/exceptions/OpenFeatureError;)Ldev/openfeature/sdk/events/OpenFeatureProviderEvents$ProviderError;
608
+
public static synthetic fun copy$default (Ldev/openfeature/sdk/events/OpenFeatureProviderEvents$ProviderError;Ldev/openfeature/sdk/exceptions/OpenFeatureError;ILjava/lang/Object;)Ldev/openfeature/sdk/events/OpenFeatureProviderEvents$ProviderError;
609
+
public fun equals (Ljava/lang/Object;)Z
610
+
public final fun getError ()Ldev/openfeature/sdk/exceptions/OpenFeatureError;
611
+
public fun hashCode ()I
612
+
public fun toString ()Ljava/lang/String;
613
+
}
614
+
615
+
public final class dev/openfeature/sdk/events/OpenFeatureProviderEvents$ProviderNotReady : dev/openfeature/sdk/events/OpenFeatureProviderEvents {
616
+
public static final field INSTANCE Ldev/openfeature/sdk/events/OpenFeatureProviderEvents$ProviderNotReady;
617
+
}
618
+
619
+
public final class dev/openfeature/sdk/events/OpenFeatureProviderEvents$ProviderReady : dev/openfeature/sdk/events/OpenFeatureProviderEvents {
620
+
public static final field INSTANCE Ldev/openfeature/sdk/events/OpenFeatureProviderEvents$ProviderReady;
621
+
}
622
+
623
+
public final class dev/openfeature/sdk/events/OpenFeatureProviderEvents$ProviderStale : dev/openfeature/sdk/events/OpenFeatureProviderEvents {
624
+
public static final field INSTANCE Ldev/openfeature/sdk/events/OpenFeatureProviderEvents$ProviderStale;
625
+
}
626
+
592
627
public final class dev/openfeature/sdk/exceptions/ErrorCode : java/lang/Enum {
593
628
public static final field FLAG_NOT_FOUND Ldev/openfeature/sdk/exceptions/ErrorCode;
594
629
public static final field GENERAL Ldev/openfeature/sdk/exceptions/ErrorCode;
0 commit comments