expo-gliph-player 1.3.11 → 1.3.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/typescript/src/types.d.ts +19 -19
- package/package.json +1 -1
- package/src/types.ts +21 -15
|
@@ -153,25 +153,25 @@ export declare enum IOSCategoryOptions {
|
|
|
153
153
|
DefaultToSpeaker = "defaultToSpeaker"
|
|
154
154
|
}
|
|
155
155
|
export declare enum AndroidAudioContentType {
|
|
156
|
-
Unknown =
|
|
157
|
-
Speech =
|
|
158
|
-
Music =
|
|
159
|
-
Movie =
|
|
160
|
-
Sonification =
|
|
156
|
+
Unknown = 0,
|
|
157
|
+
Speech = 1,
|
|
158
|
+
Music = 2,
|
|
159
|
+
Movie = 3,
|
|
160
|
+
Sonification = 4
|
|
161
161
|
}
|
|
162
162
|
export declare enum AndroidAudioUsage {
|
|
163
|
-
Unknown =
|
|
164
|
-
Media =
|
|
165
|
-
VoiceCommunication =
|
|
166
|
-
VoiceCommunicationSignalling =
|
|
167
|
-
Alarm =
|
|
168
|
-
Notification =
|
|
169
|
-
NotificationRingtone =
|
|
170
|
-
NotificationEvent =
|
|
171
|
-
AssistanceAccessibility =
|
|
172
|
-
AssistanceNavigationGuidance =
|
|
173
|
-
AssistanceSonification =
|
|
174
|
-
Game =
|
|
163
|
+
Unknown = 0,
|
|
164
|
+
Media = 1,
|
|
165
|
+
VoiceCommunication = 2,
|
|
166
|
+
VoiceCommunicationSignalling = 3,
|
|
167
|
+
Alarm = 4,
|
|
168
|
+
Notification = 5,
|
|
169
|
+
NotificationRingtone = 6,
|
|
170
|
+
NotificationEvent = 10,
|
|
171
|
+
AssistanceAccessibility = 11,
|
|
172
|
+
AssistanceNavigationGuidance = 12,
|
|
173
|
+
AssistanceSonification = 13,
|
|
174
|
+
Game = 14
|
|
175
175
|
}
|
|
176
176
|
export interface PlayerOptions {
|
|
177
177
|
/** Minimum seconds to buffer before playback starts (Android) */
|
|
@@ -199,8 +199,8 @@ export interface PlayerOptions {
|
|
|
199
199
|
/** Android-specific options */
|
|
200
200
|
android?: {
|
|
201
201
|
appKilledPlaybackBehavior?: AppKilledPlaybackBehavior;
|
|
202
|
-
audioContentType?: AndroidAudioContentType;
|
|
203
|
-
audioUsage?: AndroidAudioUsage;
|
|
202
|
+
audioContentType?: AndroidAudioContentType | string;
|
|
203
|
+
audioUsage?: AndroidAudioUsage | string;
|
|
204
204
|
autoSkipOnError?: boolean;
|
|
205
205
|
};
|
|
206
206
|
/** Progress update interval in seconds */
|
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -169,21 +169,27 @@ export enum IOSCategoryOptions {
|
|
|
169
169
|
DefaultToSpeaker = 'defaultToSpeaker',
|
|
170
170
|
}
|
|
171
171
|
|
|
172
|
-
export
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
export
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
172
|
+
export enum AndroidAudioContentType {
|
|
173
|
+
Unknown = 0,
|
|
174
|
+
Speech = 1,
|
|
175
|
+
Music = 2,
|
|
176
|
+
Movie = 3,
|
|
177
|
+
Sonification = 4,
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
export enum AndroidAudioUsage {
|
|
181
|
+
Unknown = 0,
|
|
182
|
+
Media = 1,
|
|
183
|
+
VoiceCommunication = 2,
|
|
184
|
+
VoiceCommunicationSignalling = 3,
|
|
185
|
+
Alarm = 4,
|
|
186
|
+
Notification = 5,
|
|
187
|
+
NotificationRingtone = 6,
|
|
188
|
+
NotificationEvent = 10,
|
|
189
|
+
AssistanceAccessibility = 11,
|
|
190
|
+
AssistanceNavigationGuidance = 12,
|
|
191
|
+
AssistanceSonification = 13,
|
|
192
|
+
Game = 14,
|
|
187
193
|
}
|
|
188
194
|
|
|
189
195
|
// ─── Options ─────────────────────────────────────────────────────────────────
|