UNPKG

nativescript-cast-ns6-beta

Version:

NativeScript Chromecast Plugin.

13 lines (12 loc) 683 B
import { View } from 'tns-core-modules/ui/core/view'; import { Visibility } from 'tns-core-modules/ui/styling/style-properties'; export declare abstract class CastButtonBase extends View { static validMetadataKeys: string[]; static castEvent: string; visibility: Visibility; sendEvent(eventName: string, data?: any): void; streamTypeStringToNumber(streamType: string): 1 | 2 | 0; streamTypeNumberToString(streamType: number): "BUFFERED" | "LIVE" | "NONE"; metadataTypeStringToNumber(metadataType: string): 1 | 2 | 0 | 3 | 4 | 100; metadataTypeNumberToString(metadataType: number): "MOVIE" | "TV_SHOW" | "MUSIC_TRACK" | "PHOTO" | "USER" | "GENERIC"; }