MCPcopy Create free account
hub / github.com/NativeScript/firebase / list

Method list

packages/firebase-storage/index.android.ts:460–476  ·  view source on GitHub ↗
(options?: ListOptions)

Source from the content-addressed store, hash-verified

458 }
459
460 list(options?: ListOptions): Promise<ListResult> {
461 return new Promise((resolve, reject) => {
462 org.nativescript.firebase.storage.FirebaseStorage.StorageReference.list(
463 this.native,
464 options?.maxResults ?? 1000,
465 options.pageToken || null,
466 new org.nativescript.firebase.storage.FirebaseStorage.Callback<com.google.firebase.storage.ListResult>({
467 onError(param0) {
468 reject(FirebaseError.fromNative(param0));
469 },
470 onSuccess(param0) {
471 resolve(ListResult.fromNative(param0));
472 },
473 })
474 );
475 });
476 }
477
478 listAll(): Promise<ListResult> {
479 return new Promise((resolve, reject) => {

Callers

nothing calls this directly

Calls 1

listMethod · 0.65

Tested by

no test coverage detected