Skip to content

FIVAN0/presentation-capacitor

 
 

Repository files navigation

presentation-capacitor

Capacitor Plugin for presentation api

Install

npm install presentation-capacitor
npx cap sync

API

openLink(...)

openLink(options: { url: string; }) => Promise<{ success?: any; error?: any; url?: any; }>
Param Type
options { url: string; }

Returns: Promise<{ success?: any; error?: any; url?: any; }>


addListener('onSuccessLoadUrl', ...)

addListener(eventName: 'onSuccessLoadUrl', listenerFunc: (data: any) => void) => Promise<PluginListenerHandle> & PluginListenerHandle
Param Type
eventName 'onSuccessLoadUrl'
listenerFunc (data: any) => void

Returns: Promise<PluginListenerHandle> & PluginListenerHandle


addListener('onFailLoadUrl', ...)

addListener(eventName: 'onFailLoadUrl', listenerFunc: (data: any) => void) => Promise<PluginListenerHandle> & PluginListenerHandle
Param Type
eventName 'onFailLoadUrl'
listenerFunc (data: any) => void

Returns: Promise<PluginListenerHandle> & PluginListenerHandle


getDisplays()

getDisplays() => Promise<{ displays: number; }>

Returns: Promise<{ displays: number; }>


Interfaces

PluginListenerHandle

Prop Type
remove () => Promise<void>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 74.7%
  • TypeScript 20.4%
  • JavaScript 4.9%