mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-04 17:55:24 +08:00
Added compiledTimestamp function in YukiHookAPI
This commit is contained in:
@@ -88,6 +88,12 @@ object YukiHookAPI {
|
||||
*/
|
||||
object Status {
|
||||
|
||||
/**
|
||||
* 获取项目编译完成的时间戳 (当前本地时间)
|
||||
* @return [Long]
|
||||
*/
|
||||
val compiledTimestamp get() = YukiHookBridge.moduleGeneratedVersion.toLongOrNull() ?: 0L
|
||||
|
||||
/**
|
||||
* 获取当前是否为 (Xposed) 宿主环境
|
||||
* @return [Boolean]
|
||||
|
Reference in New Issue
Block a user