Preview 2.0 is now in Public Beta!
Read the Announcement
Note: You are on the beta version of our docs. This is a work in progress and may contain broken links and pages.

Summary

Functions

dismissSoftInput

dismissSoftInput(nativeView?: View): void
Parameter Default Description
nativeView
View

Returns void

getApplication

getApplication(): globalAndroid.app.Application
Returns globalAndroid.app.Application

getApplicationContext

getApplicationContext(): globalAndroid.content.Context
Returns globalAndroid.content.Context

getCurrentActivity

getCurrentActivity(): androidx.appcompat.app.AppCompatActivity
Returns androidx.appcompat.app.AppCompatActivity

getInputMethodManager

getInputMethodManager(): android.view.inputmethod.InputMethodManager
Returns android.view.inputmethod.InputMethodManager

getPackageName

getPackageName(): string

getResources

getResources(): globalAndroid.content.res.Resources
Returns globalAndroid.content.res.Resources

isRealDevice

isRealDevice(): boolean

showSoftInput

showSoftInput(nativeView: View): void
Parameter Default Description
nativeView
View

Returns void