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: kotlin-sdk/api/android/kotlin-sdk.api
+31-35Lines changed: 31 additions & 35 deletions
Original file line number
Diff line number
Diff line change
@@ -6,13 +6,6 @@ public abstract interface class dev/openfeature/sdk/BaseEvaluation {
6
6
public abstract fun getVariant ()Ljava/lang/String;
7
7
}
8
8
9
-
public final class dev/openfeature/sdk/BuildConfig {
10
-
public static final field BUILD_TYPE Ljava/lang/String;
11
-
public static final field DEBUG Z
12
-
public static final field LIBRARY_PACKAGE_NAME Ljava/lang/String;
13
-
public fun <init> ()V
14
-
}
15
-
16
9
public final class dev/openfeature/sdk/Builder {
17
10
public fun <init> ()V
18
11
public final fun build ()Ldev/openfeature/sdk/EvaluationMetadata;
@@ -165,6 +158,7 @@ public final class dev/openfeature/sdk/FlagValueType : java/lang/Enum {
165
158
public static final field INTEGER Ldev/openfeature/sdk/FlagValueType;
166
159
public static final field OBJECT Ldev/openfeature/sdk/FlagValueType;
167
160
public static final field STRING Ldev/openfeature/sdk/FlagValueType;
161
+
public static fun getEntries ()Lkotlin/enums/EnumEntries;
168
162
public static fun valueOf (Ljava/lang/String;)Ldev/openfeature/sdk/FlagValueType;
169
163
public static fun values ()[Ldev/openfeature/sdk/FlagValueType;
170
164
}
@@ -400,6 +394,7 @@ public final class dev/openfeature/sdk/Reason : java/lang/Enum {
400
394
public static final field STATIC Ldev/openfeature/sdk/Reason;
401
395
public static final field TARGETING_MATCH Ldev/openfeature/sdk/Reason;
402
396
public static final field UNKNOWN Ldev/openfeature/sdk/Reason;
397
+
public static fun getEntries ()Lkotlin/enums/EnumEntries;
403
398
public static fun valueOf (Ljava/lang/String;)Ldev/openfeature/sdk/Reason;
404
399
public static fun values ()[Ldev/openfeature/sdk/Reason;
405
400
}
@@ -460,8 +455,8 @@ public final class dev/openfeature/sdk/TrackingEventDetails : dev/openfeature/sd
460
455
461
456
public abstract interface class dev/openfeature/sdk/Value {
462
457
public abstract fun asBoolean ()Ljava/lang/Boolean;
463
-
public abstract fun asDate ()Ljava/util/Date;
464
458
public abstract fun asDouble ()Ljava/lang/Double;
459
+
public abstract fun asInstant ()Lkotlin/time/Instant;
465
460
public abstract fun asInteger ()Ljava/lang/Integer;
466
461
public abstract fun asList ()Ljava/util/List;
467
462
public abstract fun asString ()Ljava/lang/String;
@@ -472,8 +467,8 @@ public abstract interface class dev/openfeature/sdk/Value {
472
467
public final class dev/openfeature/sdk/Value$Boolean : dev/openfeature/sdk/Value {
473
468
public fun <init> (Z)V
474
469
public fun asBoolean ()Ljava/lang/Boolean;
475
-
public fun asDate ()Ljava/util/Date;
476
470
public fun asDouble ()Ljava/lang/Double;
471
+
public fun asInstant ()Lkotlin/time/Instant;
477
472
public fun asInteger ()Ljava/lang/Integer;
478
473
public fun asList ()Ljava/util/List;
479
474
public fun asString ()Ljava/lang/String;
@@ -488,29 +483,10 @@ public final class dev/openfeature/sdk/Value$Boolean : dev/openfeature/sdk/Value
488
483
public fun toString ()Ljava/lang/String;
489
484
}
490
485
491
-
public final class dev/openfeature/sdk/Value$Date : dev/openfeature/sdk/Value {
492
-
public fun <init> (Ljava/util/Date;)V
493
-
public fun asBoolean ()Ljava/lang/Boolean;
494
-
public fun asDate ()Ljava/util/Date;
495
-
public fun asDouble ()Ljava/lang/Double;
496
-
public fun asInteger ()Ljava/lang/Integer;
497
-
public fun asList ()Ljava/util/List;
498
-
public fun asString ()Ljava/lang/String;
499
-
public fun asStructure ()Ljava/util/Map;
500
-
public final fun component1 ()Ljava/util/Date;
501
-
public final fun copy (Ljava/util/Date;)Ldev/openfeature/sdk/Value$Date;
502
-
public static synthetic fun copy$default (Ldev/openfeature/sdk/Value$Date;Ljava/util/Date;ILjava/lang/Object;)Ldev/openfeature/sdk/Value$Date;
503
-
public fun equals (Ljava/lang/Object;)Z
504
-
public final fun getDate ()Ljava/util/Date;
505
-
public fun hashCode ()I
506
-
public fun isNull ()Z
507
-
public fun toString ()Ljava/lang/String;
508
-
}
509
-
510
486
public final class dev/openfeature/sdk/Value$DefaultImpls {
511
487
public static fun asBoolean (Ldev/openfeature/sdk/Value;)Ljava/lang/Boolean;
512
-
public static fun asDate (Ldev/openfeature/sdk/Value;)Ljava/util/Date;
513
488
public static fun asDouble (Ldev/openfeature/sdk/Value;)Ljava/lang/Double;
489
+
public static fun asInstant (Ldev/openfeature/sdk/Value;)Lkotlin/time/Instant;
514
490
public static fun asInteger (Ldev/openfeature/sdk/Value;)Ljava/lang/Integer;
515
491
public static fun asList (Ldev/openfeature/sdk/Value;)Ljava/util/List;
516
492
public static fun asString (Ldev/openfeature/sdk/Value;)Ljava/lang/String;
@@ -521,8 +497,8 @@ public final class dev/openfeature/sdk/Value$DefaultImpls {
521
497
public final class dev/openfeature/sdk/Value$Double : dev/openfeature/sdk/Value {
522
498
public fun <init> (D)V
523
499
public fun asBoolean ()Ljava/lang/Boolean;
524
-
public fun asDate ()Ljava/util/Date;
525
500
public fun asDouble ()Ljava/lang/Double;
501
+
public fun asInstant ()Lkotlin/time/Instant;
526
502
public fun asInteger ()Ljava/lang/Integer;
527
503
public fun asList ()Ljava/util/List;
528
504
public fun asString ()Ljava/lang/String;
@@ -537,11 +513,30 @@ public final class dev/openfeature/sdk/Value$Double : dev/openfeature/sdk/Value
537
513
public fun toString ()Ljava/lang/String;
538
514
}
539
515
516
+
public final class dev/openfeature/sdk/Value$Instant : dev/openfeature/sdk/Value {
517
+
public fun <init> (Lkotlin/time/Instant;)V
518
+
public fun asBoolean ()Ljava/lang/Boolean;
519
+
public fun asDouble ()Ljava/lang/Double;
520
+
public fun asInstant ()Lkotlin/time/Instant;
521
+
public fun asInteger ()Ljava/lang/Integer;
522
+
public fun asList ()Ljava/util/List;
523
+
public fun asString ()Ljava/lang/String;
524
+
public fun asStructure ()Ljava/util/Map;
525
+
public final fun component1 ()Lkotlin/time/Instant;
526
+
public final fun copy (Lkotlin/time/Instant;)Ldev/openfeature/sdk/Value$Instant;
527
+
public static synthetic fun copy$default (Ldev/openfeature/sdk/Value$Instant;Lkotlin/time/Instant;ILjava/lang/Object;)Ldev/openfeature/sdk/Value$Instant;
528
+
public fun equals (Ljava/lang/Object;)Z
529
+
public final fun getInstant ()Lkotlin/time/Instant;
530
+
public fun hashCode ()I
531
+
public fun isNull ()Z
532
+
public fun toString ()Ljava/lang/String;
533
+
}
534
+
540
535
public final class dev/openfeature/sdk/Value$Integer : dev/openfeature/sdk/Value {
541
536
public fun <init> (I)V
542
537
public fun asBoolean ()Ljava/lang/Boolean;
543
-
public fun asDate ()Ljava/util/Date;
544
538
public fun asDouble ()Ljava/lang/Double;
539
+
public fun asInstant ()Lkotlin/time/Instant;
545
540
public fun asInteger ()Ljava/lang/Integer;
546
541
public fun asList ()Ljava/util/List;
547
542
public fun asString ()Ljava/lang/String;
@@ -559,8 +554,8 @@ public final class dev/openfeature/sdk/Value$Integer : dev/openfeature/sdk/Value
559
554
public final class dev/openfeature/sdk/Value$List : dev/openfeature/sdk/Value {
560
555
public fun <init> (Ljava/util/List;)V
561
556
public fun asBoolean ()Ljava/lang/Boolean;
562
-
public fun asDate ()Ljava/util/Date;
563
557
public fun asDouble ()Ljava/lang/Double;
558
+
public fun asInstant ()Lkotlin/time/Instant;
564
559
public fun asInteger ()Ljava/lang/Integer;
565
560
public fun asList ()Ljava/util/List;
566
561
public fun asString ()Ljava/lang/String;
@@ -578,8 +573,8 @@ public final class dev/openfeature/sdk/Value$List : dev/openfeature/sdk/Value {
578
573
public final class dev/openfeature/sdk/Value$Null : dev/openfeature/sdk/Value {
579
574
public static final field INSTANCE Ldev/openfeature/sdk/Value$Null;
580
575
public fun asBoolean ()Ljava/lang/Boolean;
581
-
public fun asDate ()Ljava/util/Date;
582
576
public fun asDouble ()Ljava/lang/Double;
577
+
public fun asInstant ()Lkotlin/time/Instant;
583
578
public fun asInteger ()Ljava/lang/Integer;
584
579
public fun asList ()Ljava/util/List;
585
580
public fun asString ()Ljava/lang/String;
@@ -592,8 +587,8 @@ public final class dev/openfeature/sdk/Value$Null : dev/openfeature/sdk/Value {
592
587
public final class dev/openfeature/sdk/Value$String : dev/openfeature/sdk/Value {
593
588
public fun <init> (Ljava/lang/String;)V
594
589
public fun asBoolean ()Ljava/lang/Boolean;
595
-
public fun asDate ()Ljava/util/Date;
596
590
public fun asDouble ()Ljava/lang/Double;
591
+
public fun asInstant ()Lkotlin/time/Instant;
597
592
public fun asInteger ()Ljava/lang/Integer;
598
593
public fun asList ()Ljava/util/List;
599
594
public fun asString ()Ljava/lang/String;
@@ -611,8 +606,8 @@ public final class dev/openfeature/sdk/Value$String : dev/openfeature/sdk/Value
611
606
public final class dev/openfeature/sdk/Value$Structure : dev/openfeature/sdk/Value {
612
607
public fun <init> (Ljava/util/Map;)V
613
608
public fun asBoolean ()Ljava/lang/Boolean;
614
-
public fun asDate ()Ljava/util/Date;
615
609
public fun asDouble ()Ljava/lang/Double;
610
+
public fun asInstant ()Lkotlin/time/Instant;
616
611
public fun asInteger ()Ljava/lang/Integer;
617
612
public fun asList ()Ljava/util/List;
618
613
public fun asString ()Ljava/lang/String;
@@ -666,6 +661,7 @@ public final class dev/openfeature/sdk/exceptions/ErrorCode : java/lang/Enum {
666
661
public static final field PROVIDER_NOT_READY Ldev/openfeature/sdk/exceptions/ErrorCode;
667
662
public static final field TARGETING_KEY_MISSING Ldev/openfeature/sdk/exceptions/ErrorCode;
668
663
public static final field TYPE_MISMATCH Ldev/openfeature/sdk/exceptions/ErrorCode;
664
+
public static fun getEntries ()Lkotlin/enums/EnumEntries;
669
665
public static fun valueOf (Ljava/lang/String;)Ldev/openfeature/sdk/exceptions/ErrorCode;
670
666
public static fun values ()[Ldev/openfeature/sdk/exceptions/ErrorCode;
0 commit comments