Preparing search index...
The search index is not available
Documentation
Documentation
modules/redpack/PLVRedpackManager
PLVRedpackManager
Class PLVRedpackManager
红包管理器
Hierarchy (
view full
)
PLVBaseModule
PLVRedpackManager
Index
Constructors
constructor
Properties
channel
Data
event
Data
Notify
Methods
cache
Red
Paper
ge
Local
Cached
Receive
Status
get
Cached
Red
Paper
notify
Post
Value
on
Red
Paper
Result
Event
receive
Red
Paper
update
Delay
Redpack
Status
update
Red
Paper
Receive
Status
Constructors
constructor
new PLVRedpack
Manager
(
channelData
)
:
PLVRedpackManager
Parameters
channelData
:
PLVChannelData
Returns
PLVRedpackManager
Properties
channel
Data
channel
Data
:
PLVChannelData
频道数据
event
Data
Notify
event
Data
Notify
:
IPLVEventNotify
<
"redpack_data"
>
= ...
Methods
cache
Red
Paper
cache
Red
Paper
(
redPaperEvent
)
:
void
缓存红包数据
Parameters
redPaperEvent
:
PLVRedPaperEvent
Returns
void
ge
Local
Cached
Receive
Status
ge
Local
Cached
Receive
Status
(
redpackId
?
)
:
Promise
<
string
>
获取本地缓存的红包状态
Parameters
Optional
redpackId
:
string
Returns
Promise
<
string
>
get
Cached
Red
Paper
get
Cached
Red
Paper
(
redpackId
)
:
PLVRedPaperEvent
获取红包数据
Parameters
redpackId
:
string
Returns
PLVRedPaperEvent
notify
Post
Value
notify
Post
Value
(
delayEvent
?
)
:
void
发送当前红包状态
Parameters
Optional
delayEvent
:
PLVRedPaperForDelayEvent
Returns
void
on
Red
Paper
Result
Event
on
Red
Paper
Result
Event
(
resultEvent
)
:
void
Parameters
resultEvent
:
PLVRedPaperResultEvent
Returns
void
receive
Red
Paper
receive
Red
Paper
(
redPaperEvent
,
channelId
?
,
viewerId
?
)
:
Promise
<
void
>
获取当前红包状态
Parameters
redPaperEvent
:
PLVRedPaperEvent
Optional
channelId
:
string
Optional
viewerId
:
string
Returns
Promise
<
void
>
update
Delay
Redpack
Status
update
Delay
Redpack
Status
(
channelId
?
)
:
void
更新延迟红包状态
Parameters
Optional
channelId
:
string
Returns
void
update
Red
Paper
Receive
Status
update
Red
Paper
Receive
Status
(
redpackId
?
,
receiveType
?
)
:
void
通过redpackId更新红包状态
Parameters
Optional
redpackId
:
string
Optional
receiveType
:
RedPaperReceiveType
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
channel
Data
event
Data
Notify
Methods
cache
Red
Paper
ge
Local
Cached
Receive
Status
get
Cached
Red
Paper
notify
Post
Value
on
Red
Paper
Result
Event
receive
Red
Paper
update
Delay
Redpack
Status
update
Red
Paper
Receive
Status
Documentation
Loading...
红包管理器