@capacitor-community/fullscreen
Enables immersive fullscreen mode for android devices
npm install @capacitor-community/fullscreen
npx cap sync
setNavigationBarContrastColor(...)
setNavigationBarContrastColor(value: { contrast: 'light' | 'dark'; }) => Promise<void>
Param |
Type |
value |
{ contrast: 'light' | 'dark'; } |
setStatusBarContrastColor(...)
setStatusBarContrastColor(value: { contrast: 'light' | 'dark'; }) => Promise<void>
Param |
Type |
value |
{ contrast: 'light' | 'dark'; } |
getSafeAreaInsets() => Promise<SafeAreaInsets>
Returns: Promise<SafeAreaInsets>
getSafeAreaInsets() => Promise<SafeAreaInsets>
Returns: Promise<SafeAreaInsets>
addListener('insetsChanged', ...)
addListener(eventName: 'insetsChanged', listenerFunc: (insets: SafeAreaInsets) => void) => Promise<PluginListenerHandle> & PluginListenerHandle
Param |
Type |
eventName |
'insetsChanged' |
listenerFunc |
(insets: SafeAreaInsets) => void |
Returns: Promise<PluginListenerHandle> & PluginListenerHandle
Prop |
Type |
top |
number |
right |
number |
bottom |
number |
left |
number |
Prop |
Type |
remove |
() => Promise<void> |