A B C D E F G H I J K L M N O P Q R S T U V W X Y Z | |
getAvailableFilesDir($path:String) — method, class org.zengrong.ane.tool.StorageCont | |
返回当前应用的专用存储目录。 如果有外置存储器,返回外置存储器中分配给当前应用的路径。一般位于/mnt/sdcard/Android/data/[app id]/files 如果没有外置存储器,返回内置存储器中分配给当前应用的路径。一般位于/data/data/[app id]/files | |
GET_AVAILABLE_FILES_DIR — Constant Static Property, class org.zengrong.ane.enum.StorageFunction | |
获取可用的目录 | |
getBuildInfo() — method, class org.zengrong.ane.tool.SystemInfoCont | |
获取Build信息 | |
getConnectivityInfo() — method, class org.zengrong.ane.tool.SystemInfoCont | |
获取当前连接的网络信息 AIR能够获取网络的状态,但不能判断网络的类型(是WIFI还是Mobile) 需要权限:android.permission.ACCESS_NETWORK_STATE | |
getDir($name:String, $mode:int) — method, class org.zengrong.ane.tool.StorageCont | |
在内置存储器的程序文件夹下建立一个文件夹 默认路径为/data/data/[app id]/app_[$name] | |
GET_DIR — Constant Static Property, class org.zengrong.ane.enum.StorageFunction | |
获取目录 | |
getDisplayMetricsInfo() — method, class org.zengrong.ane.tool.SystemInfoCont | |
获取显示尺寸,某些情况下可能需要自行计算 其实AIR已经提供了这些功能,建议使用AIR的功能。 | |
getExternal() — method, class org.zengrong.ane.tool.StorageCont | |
获取外部存储器的信息 | |
GET_EXTERNAL — Constant Static Property, class org.zengrong.ane.enum.StorageFunction | |
获取外部存储器路径的命令枚举 | |
getExternalFilesDir($name:String) — method, class org.zengrong.ane.tool.StorageCont | |
获取外部存储路径中当前应用的file目录 | |
GET_EXTERNAL_FILES_DIR — Constant Static Property, class org.zengrong.ane.enum.StorageFunction | |
获取外部存储路径中当前应用的file目录 | |
getExternalPublicDir($type:String) — method, class org.zengrong.ane.tool.StorageCont | |
获取外部存储器中公用目录 | |
GET_EXTERNAL_PUBLIC_DIR — Constant Static Property, class org.zengrong.ane.enum.StorageFunction | |
获取外部存储器中公用目录 | |
getExternalState() — method, class org.zengrong.ane.tool.StorageCont | |
获取外部存储器的状态,状态的枚举见org.zengrong.ane.enum.StorageState | |
GET_EXTERNAL_STATE — Constant Static Property, class org.zengrong.ane.enum.StorageFunction | |
获取外部存储器状态的命令枚举 | |
getFileState($path:String) — method, class org.zengrong.ane.tool.StorageCont | |
获取文件的状态,形如: {exists:fale, isDirectory:false, isFile:false} | |
GET_FILE_STATE — Constant Static Property, class org.zengrong.ane.enum.StorageFunction | |
获取文件状态 | |
getHardwareInfo() — method, class org.zengrong.ane.tool.SystemInfoCont | |
获取硬件信息 | |
getInternal() — method, class org.zengrong.ane.tool.StorageCont | |
获取内置存储器的信息 | |
GET_INTERNAL — Constant Static Property, class org.zengrong.ane.enum.StorageFunction | |
获取内部存储器路径的命令枚举 | |
getPackageName() — method, class org.zengrong.ane.tool.PackageInfoCont | |
获取应用的包名 | |
GET_PACKAGE_NAME — Constant Static Property, class org.zengrong.ane.enum.PackageInfoFunction | |
获取当前应用的包名 | |
GET_PREFERENCE — Constant Static Property, class org.zengrong.ane.enum.PreferenceFunction | |
获取SharedPreference数据 | |
getTelephony() — method, class org.zengrong.ane.tool.SystemInfoCont | |
获取电话信息 需要权限:android.permission.READ_PHONE_STATE | |
getValue($settingName:String, $keyType:String, $keyName:String) — method, class org.zengrong.ane.tool.PreferenceCont | |
获取保存的值 | |
goToSleep($time:int) — method, class org.zengrong.ane.tool.PowerCont | |
切换到睡眠状态 | |
GO_TO_SLEEP — Constant Static Property, class org.zengrong.ane.enum.PowerFunction | |
切换到睡眠状态 | |
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z |