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

Method getMetadata

packages/firebase-storage/index.android.ts:444–458  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

442 }
443
444 getMetadata(): Promise<Metadata> {
445 return new Promise((resolve, reject) => {
446 org.nativescript.firebase.storage.FirebaseStorage.StorageReference.getMetadata(
447 this.native,
448 new org.nativescript.firebase.storage.FirebaseStorage.Callback<com.google.firebase.storage.StorageMetadata>({
449 onError(param0) {
450 reject(FirebaseError.fromNative(param0));
451 },
452 onSuccess(param0) {
453 resolve(Metadata.fromNative(param0));
454 },
455 })
456 );
457 });
458 }
459
460 list(options?: ListOptions): Promise<ListResult> {
461 return new Promise((resolve, reject) => {

Callers

nothing calls this directly

Calls 1

getMetadataMethod · 0.65

Tested by

no test coverage detected