PsychJNI
| Kind | class |
| Package | android |
| Full name | android.PsychJNI |
| Source | source/android/PsychJNI.hx |
| Compiled when | #if android |
Public fields
| Name | Type | Static | Default | Notes |
|---|---|---|---|---|
SDL_ORIENTATION_UNKNOWN | Int | yes | 0 | final · #if android |
SDL_ORIENTATION_LANDSCAPE | Int | yes | 1 | final · #if android |
SDL_ORIENTATION_LANDSCAPE_FLIPPED | Int | yes | 2 | final · #if android |
SDL_ORIENTATION_PORTRAIT | Int | yes | 3 | final · #if android |
SDL_ORIENTATION_PORTRAIT_FLIPPED | Int | yes | 4 | final · #if android |
Public methods
setOrientation
static inline function setOrientation(width:Int, height:Int, resizeable:Bool, hint:String):Dynamic
Only compiled when #if android.
| Parameter | Type | Default |
|---|---|---|
width | Int | — |
height | Int | — |
resizeable | Bool | — |
hint | String | — |
getCurrentOrientationAsString
static inline function getCurrentOrientationAsString():String
Only compiled when #if android.
isScreenKeyboardShown
static inline function isScreenKeyboardShown():Dynamic
Only compiled when #if android.
clipboardHasText
static inline function clipboardHasText():Dynamic
Only compiled when #if android.
clipboardGetText
static inline function clipboardGetText():Dynamic
Only compiled when #if android.
clipboardSetText
static inline function clipboardSetText(string:String):Dynamic
Only compiled when #if android.
| Parameter | Type | Default |
|---|---|---|
string | String | — |
manualBackButton
static inline function manualBackButton():Dynamic
Only compiled when #if android.
setActivityTitle
static inline function setActivityTitle(title:String):Dynamic
Only compiled when #if android.
| Parameter | Type | Default |
|---|---|---|
title | String | — |