Home
last modified time | relevance | path

Searched refs:unloadAsync (Results 1 – 25 of 35) sorted by relevance

12

/expo/packages/expo-font/build/
H A DFont.js143 export async function unloadAsync(fontFamilyOrFontMap, options) { function
144 if (!ExpoFontLoader.unloadAsync) {
173 await ExpoFontLoader.unloadAsync(nativeFontName, options);
H A DExpoFontLoader.web.d.ts6 unloadAsync(fontFamilyName: string, options?: UnloadFontOptions): Promise<void>; constant
H A DFont.d.ts50 export declare function unloadAsync(fontFamilyOrFontMap: string | Record<string, UnloadFontOptions>…
H A DExpoFontLoader.web.js71 async unloadAsync(fontFamilyName, options) {
H A DFont.js.map1unloadAsync(\n fontFamilyOrFontMap: string | Record<string, UnloadFontOptions>,\n options?: Unlo…
/expo/packages/expo-font/src/__tests__/
H A DFont-test.web.ts12 unloadAsync: jest.fn(mod.unloadAsync),
44 await Font.unloadAsync(name);
/expo/packages/expo-font/src/
H A DFont.ts192 export async function unloadAsync( function
196 if (!ExpoFontLoader.unloadAsync) {
236 await ExpoFontLoader.unloadAsync(nativeFontName, options);
H A DExpoFontLoader.web.ts99 async unloadAsync(fontFamilyName: string, options?: UnloadFontOptions): Promise<void> {
/expo/apps/test-suite/tests/
H A DFont.js10 await Font.unloadAsync('cool-font');
H A DAudio.js95 await soundObject.unloadAsync();
353 await soundObject.unloadAsync();
360 await soundObject.unloadAsync();
/expo/packages/expo-av/build/
H A DVideo.js114 unloadAsync = async () => { field in Video
119 this.unloadAsync().catch(() => {
H A DAV.d.ts87 unloadAsync(): Promise<AVPlaybackStatus>; method
H A DVideo.d.ts41 unloadAsync: () => Promise<AVPlaybackStatus>;
H A DVideo.js.map1unloadAsync = async (): Promise<AVPlaybackStatus> => {\n return this._performOperationAndHandle…
/expo/apps/native-component-list/src/screens/AV/
H A DAudioPlayer.tsx75 this._sound.unloadAsync();
149 await this._sound?.unloadAsync();
H A DVideoPlayer.tsx79 await video.current?.unloadAsync();
/expo/packages/expo-av/src/
H A DVideo.tsx166 unloadAsync = async (): Promise<AVPlaybackStatus> => {
174 this.unloadAsync().catch(() => {
175 … // Ignored rejection. Sometimes the unloadAsync code is executed when video is already unloaded.
214 …* (such as `setStatusAsync()`, `getStatusAsync()`, or `unloadAsync()`), nd will also be called at …
H A DAV.ts261 unloadAsync(): Promise<AVPlaybackStatus>; method
/expo/packages/expo-av/build/Audio/
H A DSound.d.ts172 unloadAsync(): Promise<AVPlaybackStatus>;
H A DSound.js247 async unloadAsync() { method in Sound
/expo/packages/expo-av/src/Audio/
H A DSound.ts384 async unloadAsync(): Promise<AVPlaybackStatus> { method in Sound
/expo/home/components/
H A DAudioPlayer.tsx70 sound.unloadAsync();
/expo/docs/pages/versions/v46.0.0/sdk/
H A Daudio.mdx60 …o Always unload the Sound after using it to prevent memory leaks.*/ sound.unloadAsync(); /* @end */
/expo/docs/pages/versions/unversioned/sdk/
H A Daudio.mdx62 …o Always unload the Sound after using it to prevent memory leaks.*/ sound.unloadAsync(); /* @end */
/expo/docs/pages/versions/v49.0.0/sdk/
H A Daudio.mdx62 …o Always unload the Sound after using it to prevent memory leaks.*/ sound.unloadAsync(); /* @end */

12