@nativescript-community/ui-share-file
Version:
Send/share file to other apps.
12 lines (11 loc) • 583 B
TypeScript
export declare class ShareFile {
open(args: any): Promise<unknown>;
fileExtension(filename: any): any;
fileName(filename: any): any;
_getUriForPath(filePath: any, fileName: any, ctx: any): globalAndroid.net.Uri;
_getUriForAbsolutePath(filePath: any): globalAndroid.net.Uri;
_getUriForAssetPath(filePath: any, fileName: any, ctx: any): globalAndroid.net.Uri;
_getUriForBase64Content(filePath: any, fileName: any, ctx: any): globalAndroid.net.Uri;
_writeBytesToFile(ctx: any, fileName: any, contents: any): string;
_cleanAttachmentFolder(): void;
}