Light Novel Reader Api
Toggle table of contents
release
Target filter
release
Switch theme
Search in API
Skip to content
Light Novel Reader Api
Light Novel Reader Api
/
io.nightfish.lightnovelreader.api.plugin
/
Plugin
Plugin
@
Target
(
allowedTargets
=
[
AnnotationTarget.CLASS
]
)
annotation class
Plugin
(
val
name
:
String
,
val
version
:
Int
,
val
versionName
:
String
,
val
author
:
String
,
val
description
:
String
,
val
updateUrl
:
String
,
val
apiVersion
:
Int
)
用于标注插件的元数据。
Members
Properties
api
Version
Link copied to clipboard
val
apiVersion
:
Int
插件编译和运行所依赖的宿主 API 版本
author
Link copied to clipboard
val
author
:
String
插件作者
description
Link copied to clipboard
val
description
:
String
插件的功能或用途描述
name
Link copied to clipboard
val
name
:
String
插件显示名称
update
Url
Link copied to clipboard
val
updateUrl
:
String
插件更新的基础 URL,用于检查和下载更新
version
Link copied to clipboard
val
version
:
Int
插件版本号(整数)
version
Name
Link copied to clipboard
val
versionName
:
String
插件版本名称(字符串)