ThanPkgAndroid class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
checkScreenOrientation()
→ Future<ScreenOrientationTypes?>
-
Checks the current screen orientation.
override
-
genPdfCover({required String outDirPath, required List<String> pdfPathList, int iconSize = 300})
→ Future<void>
-
Generates cover images for a list of PDF files.
override
-
genPdfThumbnail({required List<SrcDistType> pathList, int iconSize = 300, bool isOverride = false})
→ Future<void>
-
override
-
genVideoCover({required String outDirPath, required List<String> videoPathList, int iconSize = 300})
→ Future<void>
-
Generates cover images (thumbnails) for a list of video files.
override
-
genVideoThumbnail({required List<SrcDistType> pathList, int iconSize = 300, bool isOverride = false})
→ Future<void>
-
override
-
getAndroidDeviceInfo()
→ Future<Map<String, dynamic>>
-
Retrieves information about the Android device.
override
-
getAppBatteryLevel()
→ Future<int>
-
override
-
getAppExternalPath()
→ Future<String>
-
Returns the external storage path of the app.
override
-
getAppFilePath()
→ Future<String>
-
Returns the file path where the app can store files.
override
-
getAppRootPath()
→ Future<String>
-
Returns the root directory path of the app.
override
-
getDeviceId()
→ Future<String>
-
Retrieves the unique device ID.
override
-
getInstalledApps()
→ Future<List<Map>>
-
override
-
getLocalIpAddress()
→ Future<String?>
-
Retrieves the local IP address of the device.
override
-
getPackageInfo()
→ Future<PackageInfo>
-
inherited
-
getPlatformVersion()
→ Future<String?>
-
Retrieves the platform version of the device.
override
-
getWifiAddress()
→ Future<String?>
-
override
-
getWifiAddressList()
→ Future<List<String>>
-
Retrieves a list of available Wi-Fi IP addresses.
override
-
getWifiSSID()
→ Future<String>
-
override
-
init()
→ Future<void>
-
inherited
-
isAppInternetConnected()
→ Future<bool>
-
override
-
isAppSystemThemeDarkMode()
→ Future<bool>
-
override
-
isStoragePermissionGranted()
→ Future<bool>
-
Checks if the storage permission is granted.
override
-
launch(String source)
→ Future<void>
-
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
openUrl({required String url})
→ Future<void>
-
Opens a given URL in the default web browser or app.
override
-
requestScreenOrientation({required ScreenOrientationTypes type, bool reverse = false})
→ Future<void>
-
Requests the screen orientation to be set to the specified type.
override
-
requestStoragePermission()
→ Future<void>
-
Requests the storage permission.
override
-
toggleFullScreen({required bool isFullScreen})
→ Future<void>
-
Toggles full-screen mode on or off.
override
-
toggleKeepScreen({required bool isKeep})
→ Future<void>
-
Toggles the keep screen awake mode.
override
-
toString()
→ String
-
A string representation of this object.
inherited