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.identifier
/
Identifier
Identifier
@
Serializable
(
with
=
IdentifierSerializer::class
)
data
class
Identifier
(
val
namespace
:
String
,
val
id
:
String
)
:
Parcelable
用于注册使用的标识符
Since
APi 4
Members
Constructors
Identifier
Link copied to clipboard
constructor
(
namespace
:
String
,
id
:
String
)
Properties
id
Link copied to clipboard
val
id
:
String
标识符的名称
namespace
Link copied to clipboard
val
namespace
:
String
标识符的命名控件
Functions
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
判读相同
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
生成HashCode
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
将对象变为文字标识符 格式为"
$namespace:$
id"