-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcore.api
More file actions
234 lines (214 loc) · 12.8 KB
/
Copy pathcore.api
File metadata and controls
234 lines (214 loc) · 12.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
public class io/tolgee/Tolgee {
public static final field Companion Lio/tolgee/Tolgee$Companion;
public fun <init> (Lio/tolgee/Tolgee$Config;)V
public final fun addChangeListener (Lio/tolgee/Tolgee$ChangeListener;)V
public final fun getChangeFlow ()Lkotlinx/coroutines/flow/MutableSharedFlow;
public fun getConfig ()Lio/tolgee/Tolgee$Config;
public static final fun getInstance ()Lio/tolgee/common/PlatformTolgee;
public static final fun getInstanceOrNull ()Lio/tolgee/common/PlatformTolgee;
public fun getLocale ()Ljava/util/Locale;
public static final fun getSystemLocale ()Ljava/util/Locale;
public static final fun init (Lio/tolgee/Tolgee$Config;)V
public static final fun init (Lkotlin/jvm/functions/Function1;)V
public static final fun new (Lio/tolgee/Tolgee$Config;)Lio/tolgee/common/PlatformTolgee;
public static final fun new (Lkotlin/jvm/functions/Function1;)Lio/tolgee/common/PlatformTolgee;
public fun preload (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public fun preloadAll (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun removeChangeListener (Lio/tolgee/Tolgee$ChangeListener;)Z
protected final fun resolveLocale (Ljava/util/Locale;)Ljava/util/Locale;
public fun setLocale (Ljava/lang/String;)Ljava/util/Locale;
public fun setLocale (Ljava/util/Locale;)Ljava/util/Locale;
public final fun t (Ljava/lang/String;)Ljava/lang/String;
public fun t (Ljava/lang/String;Lio/tolgee/model/TolgeeMessageParams;)Ljava/lang/String;
public static synthetic fun t$default (Lio/tolgee/Tolgee;Ljava/lang/String;Lio/tolgee/model/TolgeeMessageParams;ILjava/lang/Object;)Ljava/lang/String;
public fun tArray (Ljava/lang/String;)Ljava/util/List;
public fun tArrayFlow (Ljava/lang/String;)Lkotlinx/coroutines/flow/Flow;
public final fun tFlow (Ljava/lang/String;)Lkotlinx/coroutines/flow/Flow;
public fun tFlow (Ljava/lang/String;Lio/tolgee/model/TolgeeMessageParams;)Lkotlinx/coroutines/flow/Flow;
public static synthetic fun tFlow$default (Lio/tolgee/Tolgee;Ljava/lang/String;Lio/tolgee/model/TolgeeMessageParams;ILjava/lang/Object;)Lkotlinx/coroutines/flow/Flow;
}
public abstract interface class io/tolgee/Tolgee$ChangeListener {
public abstract fun onTranslationsChanged ()V
}
public final class io/tolgee/Tolgee$Companion {
public final fun getInstance ()Lio/tolgee/common/PlatformTolgee;
public final fun getInstanceOrNull ()Lio/tolgee/common/PlatformTolgee;
public final fun getSystemLocale ()Ljava/util/Locale;
public final fun init (Lio/tolgee/Tolgee$Config;)V
public final fun init (Lkotlin/jvm/functions/Function1;)V
public final fun new (Lio/tolgee/Tolgee$Config;)Lio/tolgee/common/PlatformTolgee;
public final fun new (Lkotlin/jvm/functions/Function1;)Lio/tolgee/common/PlatformTolgee;
}
public final class io/tolgee/Tolgee$Config {
public static final field Companion Lio/tolgee/Tolgee$Config$Companion;
public final fun component1 ()Ljava/util/Locale;
public final fun component2 ()Lio/tolgee/Tolgee$Config$Network;
public final fun component3 ()Lio/tolgee/Tolgee$Config$ContentDelivery;
public final fun component4 ()Ljava/util/List;
public final fun component5 ()Ljava/util/Locale;
public fun equals (Ljava/lang/Object;)Z
public final fun getAvailableLocales ()Ljava/util/List;
public final fun getContentDelivery ()Lio/tolgee/Tolgee$Config$ContentDelivery;
public final fun getDefaultLanguage ()Ljava/util/Locale;
public final fun getLocale ()Ljava/util/Locale;
public final fun getNetwork ()Lio/tolgee/Tolgee$Config$Network;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
public final class io/tolgee/Tolgee$Config$Builder {
public fun <init> ()V
public final fun availableLocaleTags (Ljava/util/List;)Lio/tolgee/Tolgee$Config$Builder;
public final fun availableLocaleTags ([Ljava/lang/String;)Lio/tolgee/Tolgee$Config$Builder;
public final fun availableLocales (Ljava/util/List;)Lio/tolgee/Tolgee$Config$Builder;
public final fun availableLocales ([Ljava/util/Locale;)Lio/tolgee/Tolgee$Config$Builder;
public final fun build ()Lio/tolgee/Tolgee$Config;
public final fun contentDelivery (Lio/tolgee/Tolgee$Config$ContentDelivery;)Lio/tolgee/Tolgee$Config$Builder;
public final fun contentDelivery (Ljava/lang/String;)Lio/tolgee/Tolgee$Config$Builder;
public final fun contentDelivery (Ljava/lang/String;Lkotlin/jvm/functions/Function1;)Lio/tolgee/Tolgee$Config$Builder;
public final fun contentDelivery (Lkotlin/jvm/functions/Function1;)Lio/tolgee/Tolgee$Config$Builder;
public static synthetic fun contentDelivery$default (Lio/tolgee/Tolgee$Config$Builder;Ljava/lang/String;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Lio/tolgee/Tolgee$Config$Builder;
public final fun defaultLanguage (Ljava/lang/String;)Lio/tolgee/Tolgee$Config$Builder;
public final fun defaultLanguage (Ljava/util/Locale;)Lio/tolgee/Tolgee$Config$Builder;
public final fun getAvailableLocales ()Ljava/util/List;
public final fun getContentDelivery ()Lio/tolgee/Tolgee$Config$ContentDelivery;
public final fun getDefaultLanguage ()Ljava/util/Locale;
public final fun getLocale ()Ljava/util/Locale;
public final fun getNetwork ()Lio/tolgee/Tolgee$Config$Network;
public final fun locale (Ljava/lang/String;)Lio/tolgee/Tolgee$Config$Builder;
public final fun locale (Ljava/util/Locale;)Lio/tolgee/Tolgee$Config$Builder;
public final fun network (Lio/tolgee/Tolgee$Config$Network;)Lio/tolgee/Tolgee$Config$Builder;
public final fun network (Lkotlin/jvm/functions/Function1;)Lio/tolgee/Tolgee$Config$Builder;
public final fun setAvailableLocales (Ljava/util/List;)V
public final fun setContentDelivery (Lio/tolgee/Tolgee$Config$ContentDelivery;)V
public final fun setDefaultLanguage (Ljava/util/Locale;)V
public final fun setLocale (Ljava/util/Locale;)V
public final fun setNetwork (Lio/tolgee/Tolgee$Config$Network;)V
}
public final class io/tolgee/Tolgee$Config$Companion {
}
public final class io/tolgee/Tolgee$Config$ContentDelivery {
public static final field Companion Lio/tolgee/Tolgee$Config$ContentDelivery$Companion;
public fun <init> ()V
public final fun component1 ()Ljava/lang/String;
public final fun component2 ()Lkotlin/jvm/functions/Function1;
public final fun component3 ()Lio/tolgee/storage/TolgeeStorageProvider;
public final fun component4 ()Lio/tolgee/Tolgee$Formatter;
public final fun component5 ()Ljava/lang/String;
public final fun component6 ()Ljava/lang/Integer;
public fun equals (Ljava/lang/Object;)Z
public final fun getFormatter ()Lio/tolgee/Tolgee$Formatter;
public final fun getManifestPath ()Ljava/lang/String;
public final fun getMaxLocalesInMemory ()Ljava/lang/Integer;
public final fun getPath ()Lkotlin/jvm/functions/Function1;
public final fun getStorage ()Lio/tolgee/storage/TolgeeStorageProvider;
public final fun getUrl ()Ljava/lang/String;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
public final class io/tolgee/Tolgee$Config$ContentDelivery$Builder {
public fun <init> ()V
public final fun build ()Lio/tolgee/Tolgee$Config$ContentDelivery;
public final fun formatter (Lio/tolgee/Tolgee$Formatter;)Lio/tolgee/Tolgee$Config$ContentDelivery$Builder;
public final fun getFormatter ()Lio/tolgee/Tolgee$Formatter;
public final fun getManifestPath ()Ljava/lang/String;
public final fun getMaxLocalesInMemory ()Ljava/lang/Integer;
public final fun getPath ()Lkotlin/jvm/functions/Function1;
public final fun getStorage ()Lio/tolgee/storage/TolgeeStorageProvider;
public final fun getUrl ()Ljava/lang/String;
public final fun manifestPath (Ljava/lang/String;)Lio/tolgee/Tolgee$Config$ContentDelivery$Builder;
public final fun maxLocalesInMemory (Ljava/lang/Integer;)Lio/tolgee/Tolgee$Config$ContentDelivery$Builder;
public final fun path (Lkotlin/jvm/functions/Function1;)Lio/tolgee/Tolgee$Config$ContentDelivery$Builder;
public final fun setFormatter (Lio/tolgee/Tolgee$Formatter;)V
public final fun setManifestPath (Ljava/lang/String;)V
public final fun setMaxLocalesInMemory (Ljava/lang/Integer;)V
public final fun setPath (Lkotlin/jvm/functions/Function1;)V
public final fun setStorage (Lio/tolgee/storage/TolgeeStorageProvider;)V
public final fun setUrl (Ljava/lang/String;)V
public final fun storage (Lio/tolgee/storage/TolgeeStorageProvider;)Lio/tolgee/Tolgee$Config$ContentDelivery$Builder;
public final fun url (Ljava/lang/String;)Lio/tolgee/Tolgee$Config$ContentDelivery$Builder;
}
public final class io/tolgee/Tolgee$Config$ContentDelivery$Companion {
}
public final class io/tolgee/Tolgee$Config$Network {
public fun <init> ()V
public final fun component1 ()Lio/ktor/client/HttpClient;
public final fun component2 ()Lkotlin/coroutines/CoroutineContext;
public fun equals (Ljava/lang/Object;)Z
public final fun getClient ()Lio/ktor/client/HttpClient;
public final fun getContext ()Lkotlin/coroutines/CoroutineContext;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
public final class io/tolgee/Tolgee$Config$Network$Builder {
public fun <init> ()V
public final fun build ()Lio/tolgee/Tolgee$Config$Network;
public final fun client (Lio/ktor/client/HttpClient;)Lio/tolgee/Tolgee$Config$Network$Builder;
public final fun client (Lio/ktor/client/engine/HttpClientEngine;)Lio/tolgee/Tolgee$Config$Network$Builder;
public final fun client (Lio/ktor/client/engine/HttpClientEngine;Lkotlin/jvm/functions/Function1;)Lio/tolgee/Tolgee$Config$Network$Builder;
public final fun client (Lio/ktor/client/engine/HttpClientEngineFactory;)Lio/tolgee/Tolgee$Config$Network$Builder;
public final fun client (Lio/ktor/client/engine/HttpClientEngineFactory;Lkotlin/jvm/functions/Function1;)Lio/tolgee/Tolgee$Config$Network$Builder;
public final fun client (Lkotlin/jvm/functions/Function1;)Lio/tolgee/Tolgee$Config$Network$Builder;
public final fun context (Lkotlin/coroutines/CoroutineContext;)Lio/tolgee/Tolgee$Config$Network$Builder;
public final fun getClient ()Lio/ktor/client/HttpClient;
public final fun getContext ()Lkotlin/coroutines/CoroutineContext;
public final fun setClient (Lio/ktor/client/HttpClient;)V
public final fun setContext (Lkotlin/coroutines/CoroutineContext;)V
}
public abstract interface class io/tolgee/Tolgee$Formatter {
}
public final class io/tolgee/Tolgee$Formatter$ICU : io/tolgee/Tolgee$Formatter {
public static final field INSTANCE Lio/tolgee/Tolgee$Formatter$ICU;
public fun equals (Ljava/lang/Object;)Z
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
public final class io/tolgee/Tolgee$Formatter$Sprintf : io/tolgee/Tolgee$Formatter {
public static final field INSTANCE Lio/tolgee/Tolgee$Formatter$Sprintf;
public fun equals (Ljava/lang/Object;)Z
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
public final class io/tolgee/common/PlatformTolgee : io/tolgee/Tolgee {
public final fun component1 ()Lio/tolgee/Tolgee$Config;
public fun equals (Ljava/lang/Object;)Z
public fun getConfig ()Lio/tolgee/Tolgee$Config;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
public abstract interface class io/tolgee/model/TolgeeMessageParams : de/comahe/i18n4k/messages/formatter/MessageParameters {
public abstract fun get (Ljava/lang/CharSequence;)Ljava/lang/Object;
}
public final class io/tolgee/model/TolgeeMessageParams$Indexed : io/tolgee/model/TolgeeMessageParams {
public fun <init> (Ljava/util/List;)V
public fun <init> ([Ljava/lang/Object;)V
public final fun component1 ()Ljava/util/List;
public final fun copy (Ljava/util/List;)Lio/tolgee/model/TolgeeMessageParams$Indexed;
public static synthetic fun copy$default (Lio/tolgee/model/TolgeeMessageParams$Indexed;Ljava/util/List;ILjava/lang/Object;)Lio/tolgee/model/TolgeeMessageParams$Indexed;
public fun equals (Ljava/lang/Object;)Z
public fun get (Ljava/lang/CharSequence;)Ljava/lang/Object;
public final fun getArgList ()Ljava/util/List;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
public final class io/tolgee/model/TolgeeMessageParams$Mapped : io/tolgee/model/TolgeeMessageParams {
public fun <init> (Ljava/util/Map;)V
public final fun component1 ()Ljava/util/Map;
public final fun copy (Ljava/util/Map;)Lio/tolgee/model/TolgeeMessageParams$Mapped;
public static synthetic fun copy$default (Lio/tolgee/model/TolgeeMessageParams$Mapped;Ljava/util/Map;ILjava/lang/Object;)Lio/tolgee/model/TolgeeMessageParams$Mapped;
public fun equals (Ljava/lang/Object;)Z
public fun get (Ljava/lang/CharSequence;)Ljava/lang/Object;
public final fun getFormatArgs ()Ljava/util/Map;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
public final class io/tolgee/model/TolgeeMessageParams$None : io/tolgee/model/TolgeeMessageParams {
public static final field INSTANCE Lio/tolgee/model/TolgeeMessageParams$None;
public fun equals (Ljava/lang/Object;)Z
public fun get (Ljava/lang/CharSequence;)Ljava/lang/Object;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
public abstract interface class io/tolgee/storage/TolgeeStorageProvider {
public abstract fun get (Ljava/lang/String;)[B
public abstract fun put (Ljava/lang/String;[B)V
}