PlasmoVoice
jvm
PlasmoVoice
/
su.plo.voice.api.addon.annotation
/
Addon
Addon
@
Retention
(
value
=
RetentionPolicy.RUNTIME
)
@
Target
(
value
=
[
ElementType.TYPE
]
)
annotation class
Addon
Annotation used to describe a Plasmo Voice addon.
Members
Functions
annotation
Type
Link copied to clipboard
abstract
fun
annotationType
(
)
:
Class
<
out
Annotation
>
authors
Link copied to clipboard
@
NotNull
abstract
fun
authors
(
)
:
Array
<
@
NotNull
String
>
Gets the authors of the addon.
dependencies
Link copied to clipboard
abstract
fun
dependencies
(
)
:
Array
<
Dependency
>
Gets the dependencies required or suggested by the addon.
equals
Link copied to clipboard
abstract
fun
equals
(
p
:
Any
)
:
Boolean
hash
Code
Link copied to clipboard
abstract
fun
hashCode
(
)
:
Int
id
Link copied to clipboard
@
NotNull
abstract
fun
id
(
)
:
@
NotNull
String
Gets the id of the addon.
name
Link copied to clipboard
@
NotNull
abstract
fun
name
(
)
:
@
NotNull
String
Gets the name of the addon.
scope
Link copied to clipboard
@
NotNull
abstract
fun
scope
(
)
:
@
NotNull
AddonLoaderScope
Gets the scope of the addon, indicating where it should be loaded.
to
String
Link copied to clipboard
abstract
fun
toString
(
)
:
String
version
Link copied to clipboard
@
NotNull
abstract
fun
version
(
)
:
@
NotNull
String
Gets the version of the addon.