@polyvharmony/live-scenes-sdk 1.3.5 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BuildProfile.d.ets +4 -4
- package/CHANGELOG.md +30 -0
- package/Index.d.ets +3 -0
- package/ets/modules.abc +0 -0
- package/oh-package.json5 +1 -1
- package/package.json +1 -1
- package/src/main/ets/common/PLVChannelData.d.ets +16 -10
- package/src/main/ets/common/PLVDataBaseModule.d.ets +1 -1
- package/src/main/ets/common/PLVLiveSceneSDK.d.ets +9 -4
- package/src/main/ets/modules/business/model/PLVLiveChannelSettingUpdateRequestVO.d.ets +1 -0
- package/src/main/ets/modules/business/model/PLVReportPageViewerVO.d.ets +1 -1
- package/src/main/ets/modules/chatroom/PLVChatroomManager.d.ets +31 -22
- package/src/main/ets/modules/chatroom/handler/PLVChatroomBanIpMessageHandler.d.ets +1 -1
- package/src/main/ets/modules/chatroom/handler/PLVChatroomBaseHandler.d.ets +2 -2
- package/src/main/ets/modules/chatroom/handler/PLVChatroomCancelTopHandler.d.ets +1 -1
- package/src/main/ets/modules/chatroom/handler/PLVChatroomCloseRoomMessageHandler.d.ets +1 -1
- package/src/main/ets/modules/chatroom/handler/PLVChatroomDataHandlerFactory.d.ets +1 -1
- package/src/main/ets/modules/chatroom/handler/PLVChatroomFocusModeHandler.d.ets +1 -1
- package/src/main/ets/modules/chatroom/handler/PLVChatroomLikesMessageHandler.d.ets +1 -1
- package/src/main/ets/modules/chatroom/handler/PLVChatroomLoginMessageHandler.d.ets +1 -1
- package/src/main/ets/modules/chatroom/handler/PLVChatroomLogoutMessageHandler.d.ets +1 -1
- package/src/main/ets/modules/chatroom/handler/PLVChatroomOnSliceIdMessageHandler.d.ets +1 -1
- package/src/main/ets/modules/chatroom/handler/PLVChatroomToTopHandler.d.ets +1 -1
- package/src/main/ets/modules/chatroom/handler/PLVChatroomUnShieldMessageHandler.d.ets +1 -1
- package/src/main/ets/modules/chatroom/model/IPLVReliableMessageEvent.d.ets +5 -0
- package/src/main/ets/modules/chatroom/model/PLVImageBean.d.ets +3 -3
- package/src/main/ets/modules/chatroom/model/PLVSpeakEvent.d.ets +3 -1
- package/src/main/ets/modules/chatroom/model/PLVToTopEvent.d.ets +1 -1
- package/src/main/ets/modules/chatroom/playback/PLVChatPlaybackManager.d.ets +4 -4
- package/src/main/ets/modules/chatroom/playback/model/PLVChatPlaybackDataVO.d.ets +2 -2
- package/src/main/ets/modules/chatroom/playback/model/PLVChatPlaybackOpenHelper.d.ets +7 -7
- package/src/main/ets/modules/chatroom/playback/model/PLVChatPlaybackToTopVO.d.ets +3 -3
- package/src/main/ets/modules/chatroom/reliable/PLVReliableMessageCache.d.ets +11 -0
- package/src/main/ets/modules/i18n/PLVI18NDataMapper.d.ets +5 -5
- package/src/main/ets/modules/interact/PLVInteractManager.d.ets +6 -6
- package/src/main/ets/modules/interact/PLVInteractWeb.d.ets +13 -13
- package/src/main/ets/modules/interact/PLVStreamerInteractManager.d.ets +18 -0
- package/src/main/ets/modules/interact/PLVStreamerInteractWeb.d.ets +17 -0
- package/src/main/ets/modules/interact/PLVStreamerInteractWebController.d.ets +14 -0
- package/src/main/ets/modules/interact/invitePoster/PLVInteractInvitePoster.d.ets +1 -1
- package/src/main/ets/modules/interact/model/PLVFunctionSwitchBean.d.ets +1 -1
- package/src/main/ets/modules/interact/pushcard/PLVPushCardManager.d.ets +2 -2
- package/src/main/ets/modules/interact/pushcard/model/PLVShowPushCardEvent.d.ets +1 -1
- package/src/main/ets/modules/interact/pushcard/repo/PLVCardLookTimeLocalRepository.d.ets +3 -3
- package/src/main/ets/modules/linkmic/PLVLinkMicManager.d.ets +15 -15
- package/src/main/ets/modules/linkmic/mediator/PLVLinkMicMediator.d.ets +4 -4
- package/src/main/ets/modules/linkmic/mediator/PLVLinkMicRTCEventCallback.d.ets +8 -8
- package/src/main/ets/modules/linkmic/model/PLVLinkMicRepo.d.ets +10 -10
- package/src/main/ets/modules/linkmic/model/datasource/PLVLinkMicNetworkDataSource.d.ets +5 -4
- package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicBitRate.d.ets +1 -1
- package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicBitRateEncodeParam.d.ets +1 -1
- package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicErrorEvent.d.ets +1 -1
- package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicInteractEvent.d.ets +1 -1
- package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicPushResolutionRatio.d.ets +1 -1
- package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicRTCType.d.ets +2 -1
- package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicVideoRenderParam.d.ets +1 -1
- package/src/main/ets/modules/linkmic/model/vo/PLVLinkMicViewer.d.ets +1 -1
- package/src/main/ets/modules/linkmic/viewmodel/PLVLinkMicViewModel.d.ets +16 -16
- package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicEncodeParamUseCase.d.ets +6 -6
- package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicHandleQueueOrderUseCase.d.ets +4 -4
- package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicHandleRTCUseCase.d.ets +7 -7
- package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicHandleStateUseCase.d.ets +10 -10
- package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicUpdateChannelViewerUseCase.d.ets +6 -6
- package/src/main/ets/modules/linkmic/viewmodel/usecase/LinkMicViewLogUseCase.d.ets +1 -1
- package/src/main/ets/modules/linkmic/viewmodel/usecase/PLVLinkMicUseCases.d.ets +1 -1
- package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/guest/LinkMicGuestEncodeParamUseCase.d.ets +6 -6
- package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/guest/LinkMicGuestHandleRTCUseCase.d.ets +7 -7
- package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/guest/LinkMicGuestHandleStateUseCase.d.ets +10 -10
- package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/teacher/LinkMicTeacherEncodeParamUseCase.d.ets +6 -6
- package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/teacher/LinkMicTeacherHandleRTCUseCase.d.ets +7 -7
- package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/teacher/LinkMicTeacherHandleStateUseCase.d.ets +10 -10
- package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/viewer/LinkMicViewerEncodeParamUseCase.d.ets +6 -6
- package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/viewer/LinkMicViewerHandleRTCUseCase.d.ets +7 -7
- package/src/main/ets/modules/linkmic/viewmodel/usecase/roles/viewer/LinkMicViewerHandleStateUseCase.d.ets +10 -10
- package/src/main/ets/modules/log/elog/PLVELogSender.d.ets +4 -4
- package/src/main/ets/modules/log/elog/model/PLVELogDataBean.d.ets +1 -1
- package/src/main/ets/modules/login/PLVSceneLoginManager.d.ets +3 -3
- package/src/main/ets/modules/login/model/PLVChatDomainVO.d.ets +2 -2
- package/src/main/ets/modules/login/model/PLVLiveChannelType.d.ets +1 -1
- package/src/main/ets/modules/login/model/PLVLiveDetailVO.d.ets +3 -1
- package/src/main/ets/modules/login/model/PLVLiveStatus.d.ets +1 -1
- package/src/main/ets/modules/login/model/PLVLiveStatusVO.d.ets +2 -2
- package/src/main/ets/modules/login/model/PLVLoginLiveResult.d.ets +1 -1
- package/src/main/ets/modules/login/model/PLVLoginPlaybackResult.d.ets +1 -1
- package/src/main/ets/modules/login/model/PLVLoginType.d.ets +2 -2
- package/src/main/ets/modules/member/PLVMemberManager.d.ets +3 -3
- package/src/main/ets/modules/member/mediator/PLVMemberMediator.d.ets +3 -3
- package/src/main/ets/modules/member/model/PLVMemberRepo.d.ets +2 -2
- package/src/main/ets/modules/member/model/datasource/PLVMemberNetworkDataSource.d.ets +2 -2
- package/src/main/ets/modules/member/model/vo/PLVMemberChannelViewer.d.ets +1 -1
- package/src/main/ets/modules/member/model/vo/PLVMemberErrorEvent.d.ets +1 -1
- package/src/main/ets/modules/member/viewmodel/PLVMemberViewModel.d.ets +3 -3
- package/src/main/ets/modules/member/viewmodel/usecase/MemberHandleStateUseCase.d.ets +6 -6
- package/src/main/ets/modules/member/viewmodel/usecase/MemberUpdateViewerUseCase.d.ets +9 -9
- package/src/main/ets/modules/member/viewmodel/usecase/PLVMemberUseCases.d.ets +1 -1
- package/src/main/ets/modules/member/viewmodel/usecase/roles/guest/MemberGuestHandleStateUseCase.d.ets +6 -6
- package/src/main/ets/modules/member/viewmodel/usecase/roles/guest/MemberGuestUpdateViewerUseCase.d.ets +9 -9
- package/src/main/ets/modules/member/viewmodel/usecase/roles/teacher/MemberTeacherHandleStateUseCase.d.ets +6 -6
- package/src/main/ets/modules/member/viewmodel/usecase/roles/teacher/MemberTeacherUpdateViewerUseCase.d.ets +9 -9
- package/src/main/ets/modules/net/PLVApiChatPlvNetApi.d.ets +10 -10
- package/src/main/ets/modules/net/PLVApiPlvNetApi.d.ets +31 -30
- package/src/main/ets/modules/net/PLVELogPlvNetApi.d.ets +2 -2
- package/src/main/ets/modules/net/PLVLiveImagesVideoNetApi.d.ets +3 -3
- package/src/main/ets/modules/net/PLVNGBPushApi.d.ets +2 -2
- package/src/main/ets/modules/net/PLVRtasVideoNetApi.d.ets +2 -2
- package/src/main/ets/modules/player/PLVPlayerManager.d.ets +3 -3
- package/src/main/ets/modules/player/PLVPlayerMediator.d.ets +1 -1
- package/src/main/ets/modules/player/playback/PLVPreviousManager.d.ets +5 -5
- package/src/main/ets/modules/ppt/PLVPPTWebController.d.ets +6 -6
- package/src/main/ets/modules/product/PLVProductManager.d.ets +5 -5
- package/src/main/ets/modules/product/components/PLVProductControlWeb.d.ets +1 -1
- package/src/main/ets/modules/product/components/PLVProductWeb.d.ets +1 -1
- package/src/main/ets/modules/product/model/PLVProductContentBean.d.ets +1 -1
- package/src/main/ets/modules/product/model/PLVProductDataBean.d.ets +1 -1
- package/src/main/ets/modules/redpack/PLVRedpackManager.d.ets +9 -9
- package/src/main/ets/modules/redpack/database/PLVRedpackCacheVO.d.ets +1 -1
- package/src/main/ets/modules/redpack/database/PLVRedpackLocalDataSource.d.ets +4 -4
- package/src/main/ets/modules/redpack/database/PLVRedpackOpenHelper.d.ets +4 -4
- package/src/main/ets/modules/reward/PLVRewardManager.d.ets +2 -2
- package/src/main/ets/modules/reward/model/PLVRewardPointVO.d.ets +1 -1
- package/src/main/ets/modules/socket/PLVSocketManager.d.ets +8 -8
- package/src/main/ets/modules/socket/PLVSocketMediator.d.ets +7 -7
- package/src/main/ets/modules/socket/model/PLVSocketEventConstants.d.ets +4 -0
- package/src/main/ets/modules/socket/model/PLVSocketUserBean.d.ets +5 -5
- package/src/main/ets/modules/socket/model/redpack/RedPaperReceiveType.d.ets +4 -4
- package/src/main/ets/modules/streamer/PLVStreamerManager.d.ets +14 -8
- package/src/main/ets/modules/streamer/mediator/PLVStreamerMediator.d.ets +2 -2
- package/src/main/ets/modules/streamer/model/PLVStreamerRepo.d.ets +10 -8
- package/src/main/ets/modules/streamer/model/datasource/PLVStreamerLocalDataSource.d.ets +2 -2
- package/src/main/ets/modules/streamer/model/datasource/PLVStreamerNetworkDataSource.d.ets +12 -7
- package/src/main/ets/modules/streamer/model/vo/PLVStreamerErrorEvent.d.ets +1 -1
- package/src/main/ets/modules/streamer/viewmodel/PLVStreamerViewModel.d.ets +9 -8
- package/src/main/ets/modules/streamer/viewmodel/usecase/PLVStreamerUseCases.d.ets +3 -1
- package/src/main/ets/modules/streamer/viewmodel/usecase/StreamerHandleStateUseCase.d.ets +2 -2
- package/src/main/ets/modules/streamer/viewmodel/usecase/StreamerMixStreamUseCase.d.ets +2 -2
- package/src/main/ets/modules/streamer/viewmodel/usecase/StreamerUpdateSplashImageUseCase.d.ets +9 -0
- package/src/main/ets/modules/streamer/viewmodel/usecase/roles/guest/StreamerGuestHandleStateUseCase.d.ets +2 -2
- package/src/main/ets/modules/streamer/viewmodel/usecase/roles/guest/StreamerGuestMixStreamUseCase.d.ets +2 -2
- package/src/main/ets/modules/streamer/viewmodel/usecase/roles/teacher/StreamerTeacherHandleStateUseCase.d.ets +2 -2
- package/src/main/ets/modules/streamer/viewmodel/usecase/roles/teacher/StreamerTeacherMixStreamUseCase.d.ets +2 -2
- package/src/main/ets/modules/web/PLVSocketWebController.d.ets +4 -4
- package/src/main/ets/modules/web/PLVWebControllerManager.d.ets +8 -2
- package/src/main/ets/modules/web/PLVWebParams.d.ets +1 -1
- package/src/main/ets/modules/web/qa/PLVQAWeb.d.ets +1 -1
- package/src/main/ets/modules/web/tuwen/PLVTuwenWeb.d.ets +1 -1
- package/src/main/module.json +1 -1
|
@@ -8,13 +8,13 @@ export declare class MemberGuestHandleStateUseCase implements IMemberHandleState
|
|
|
8
8
|
private readonly updateViewerUseCase;
|
|
9
9
|
private disposables;
|
|
10
10
|
private observers;
|
|
11
|
-
constructor(
|
|
11
|
+
constructor(d57: PLVMemberRepo, e57: MemberUpdateViewerUseCase);
|
|
12
12
|
init(): void;
|
|
13
|
-
acceptViewerLinkMicRequest(
|
|
14
|
-
inviteViewerLinkMic(
|
|
15
|
-
hangupViewerLinkMic(
|
|
16
|
-
kickViewer(
|
|
17
|
-
banViewer(
|
|
13
|
+
acceptViewerLinkMicRequest(w56: string): void;
|
|
14
|
+
inviteViewerLinkMic(u56: string, v56?: boolean): void;
|
|
15
|
+
hangupViewerLinkMic(t56: string): void;
|
|
16
|
+
kickViewer(s56: string): Promise<void>;
|
|
17
|
+
banViewer(q56: string, r56?: boolean): Promise<void>;
|
|
18
18
|
private onSocketMessage;
|
|
19
19
|
private onSocketUserLogin;
|
|
20
20
|
private onSocketUserLogout;
|
|
@@ -8,18 +8,18 @@ import { IMemberUpdateViewerUseCase, MemberUpdateChannelViewersPayload } from '.
|
|
|
8
8
|
export declare class MemberGuestUpdateViewerUseCase implements IMemberUpdateViewerUseCase {
|
|
9
9
|
private readonly repo;
|
|
10
10
|
private updateChannelViewerTask;
|
|
11
|
-
constructor(
|
|
11
|
+
constructor(v60: PLVMemberRepo);
|
|
12
12
|
startUpdateChannelViewersInterval(): void;
|
|
13
13
|
stopUpdateChannelViewersInterval(): void;
|
|
14
|
-
handleChannelViewersUpdate(
|
|
14
|
+
handleChannelViewersUpdate(d60: MemberUpdateChannelViewersPayload): void;
|
|
15
15
|
sortChannelViewers(): void;
|
|
16
|
-
updateByLinkMicStatusList(
|
|
17
|
-
onSocketUserLogin(
|
|
18
|
-
onSocketUserLogout(
|
|
19
|
-
onSocketJoinRequest(
|
|
20
|
-
onSocketJoinAnswer(
|
|
21
|
-
onSocketJoinSuccess(
|
|
22
|
-
onSocketJoinLeave(
|
|
16
|
+
updateByLinkMicStatusList(z58: PLVLinkMicChannelStatus): void;
|
|
17
|
+
onSocketUserLogin(s58: PLVMemberSocketLoginRecv): void;
|
|
18
|
+
onSocketUserLogout(o58: PLVMemberSocketLogoutRecv): void;
|
|
19
|
+
onSocketJoinRequest(j58: PLVLinkMicSocketJoinRequestRecv): void;
|
|
20
|
+
onSocketJoinAnswer(g58: PLVLinkMicSocketJoinAnswerRecv): void;
|
|
21
|
+
onSocketJoinSuccess(b58: PLVLinkMicSocketJoinSuccessRecv): void;
|
|
22
|
+
onSocketJoinLeave(y57: PLVLinkMicSocketJoinLeaveRecv): void;
|
|
23
23
|
private updateServerListViewer;
|
|
24
24
|
private getViewerSortOrder;
|
|
25
25
|
}
|
|
@@ -8,13 +8,13 @@ export declare class MemberTeacherHandleStateUseCase implements IMemberHandleSta
|
|
|
8
8
|
private readonly updateViewerUseCase;
|
|
9
9
|
private disposables;
|
|
10
10
|
private observers;
|
|
11
|
-
constructor(
|
|
11
|
+
constructor(s63: PLVMemberRepo, t63: MemberUpdateViewerUseCase);
|
|
12
12
|
init(): void;
|
|
13
|
-
acceptViewerLinkMicRequest(
|
|
14
|
-
inviteViewerLinkMic(
|
|
15
|
-
hangupViewerLinkMic(
|
|
16
|
-
kickViewer(
|
|
17
|
-
banViewer(
|
|
13
|
+
acceptViewerLinkMicRequest(i63: string): void;
|
|
14
|
+
inviteViewerLinkMic(d63: string, e63?: boolean): void;
|
|
15
|
+
hangupViewerLinkMic(a63: string): void;
|
|
16
|
+
kickViewer(x62: string): Promise<void>;
|
|
17
|
+
banViewer(t62: string, u62?: boolean): Promise<void>;
|
|
18
18
|
private onSocketMessage;
|
|
19
19
|
private onSocketUserLogin;
|
|
20
20
|
private onSocketUserLogout;
|
|
@@ -8,18 +8,18 @@ import { IMemberUpdateViewerUseCase, MemberUpdateChannelViewersPayload } from '.
|
|
|
8
8
|
export declare class MemberTeacherUpdateViewerUseCase implements IMemberUpdateViewerUseCase {
|
|
9
9
|
private readonly repo;
|
|
10
10
|
private updateChannelViewerTask;
|
|
11
|
-
constructor(
|
|
11
|
+
constructor(k67: PLVMemberRepo);
|
|
12
12
|
startUpdateChannelViewersInterval(): void;
|
|
13
13
|
stopUpdateChannelViewersInterval(): void;
|
|
14
|
-
handleChannelViewersUpdate(
|
|
14
|
+
handleChannelViewersUpdate(s66: MemberUpdateChannelViewersPayload): void;
|
|
15
15
|
sortChannelViewers(): void;
|
|
16
|
-
updateByLinkMicStatusList(
|
|
17
|
-
onSocketUserLogin(
|
|
18
|
-
onSocketUserLogout(
|
|
19
|
-
onSocketJoinRequest(
|
|
20
|
-
onSocketJoinAnswer(
|
|
21
|
-
onSocketJoinSuccess(
|
|
22
|
-
onSocketJoinLeave(
|
|
16
|
+
updateByLinkMicStatusList(o65: PLVLinkMicChannelStatus): void;
|
|
17
|
+
onSocketUserLogin(h65: PLVMemberSocketLoginRecv): void;
|
|
18
|
+
onSocketUserLogout(d65: PLVMemberSocketLogoutRecv): void;
|
|
19
|
+
onSocketJoinRequest(y64: PLVLinkMicSocketJoinRequestRecv): void;
|
|
20
|
+
onSocketJoinAnswer(v64: PLVLinkMicSocketJoinAnswerRecv): void;
|
|
21
|
+
onSocketJoinSuccess(q64: PLVLinkMicSocketJoinSuccessRecv): void;
|
|
22
|
+
onSocketJoinLeave(n64: PLVLinkMicSocketJoinLeaveRecv): void;
|
|
23
23
|
private updateServerListViewer;
|
|
24
24
|
private getViewerSortOrder;
|
|
25
25
|
}
|
|
@@ -5,15 +5,15 @@ import { PLVHistoryQuizListVO } from '../chatroom/model/PLVHistroyQuizListVO';
|
|
|
5
5
|
import { PLVEmotionImagesVO } from '../chatroom/model/PLVEmotionImagesVO';
|
|
6
6
|
import { PLVChannelData } from '../../common/PLVChannelData';
|
|
7
7
|
import { PLVChapterDataVO } from '../player/playback/PLVChapterDataVO';
|
|
8
|
-
export declare function apiChatPlvNetApi(
|
|
8
|
+
export declare function apiChatPlvNetApi(e69: PLVChannelData): PLVApiChatPlvNetApi;
|
|
9
9
|
export declare class PLVApiChatPlvNetApi extends PLVHttpRequest {
|
|
10
|
-
constructor(
|
|
11
|
-
getQuizHistoryList(
|
|
12
|
-
getChatHistoryList(
|
|
13
|
-
getEmotionImages(
|
|
14
|
-
getPlaybackHistoryPart(
|
|
15
|
-
getPlaybackHistoryList(
|
|
16
|
-
getPlaybackChapterList(
|
|
17
|
-
getRecordChapterList(
|
|
18
|
-
getSessionIdChatHistoryList(
|
|
10
|
+
constructor(d69?: string);
|
|
11
|
+
getQuizHistoryList(u68?: string, v68?: string, w68?: string, x68?: string, y68?: string, z68?: number, a69?: number): Promise<PLVResponseData<PLVHistoryQuizListVO>>;
|
|
12
|
+
getChatHistoryList(j68?: string, k68?: string, l68?: string, m68?: string, n68?: string, o68?: number, p68?: number, q68?: number): Promise<PLVResponseObject>;
|
|
13
|
+
getEmotionImages(f68?: string, g68?: string, h68?: number, i68?: number): Promise<PLVResponseData<PLVEmotionImagesVO>>;
|
|
14
|
+
getPlaybackHistoryPart(a68?: string, b68?: string, c68?: string, d68?: number): Promise<PLVResponseObject>;
|
|
15
|
+
getPlaybackHistoryList(w67?: string, x67?: string, y67?: number): Promise<PLVResponseObject>;
|
|
16
|
+
getPlaybackChapterList(t67?: string, u67?: string): Promise<PLVResponseType<PLVChapterDataVO[]>>;
|
|
17
|
+
getRecordChapterList(q67?: string, r67?: string): Promise<PLVResponseType<PLVChapterDataVO[]>>;
|
|
18
|
+
getSessionIdChatHistoryList(l67?: string, m67?: string, n67?: number, o67?: number): Promise<PLVResponseObject>;
|
|
19
19
|
}
|
|
@@ -22,36 +22,37 @@ import { PLVMemberListResponseData } from '../member/model/vo/PLVMemberListRespo
|
|
|
22
22
|
import { PLVChatImageUploadTokenVO } from '../chatroom/model/PLVChatImageUploadTokenVO';
|
|
23
23
|
import { PLVInvitePosterSettingVO } from '../interact/invitePoster/model/PLVInvitePosterSettingVO';
|
|
24
24
|
import { PLVPreviousListVO } from '../player/playback/PLVPreviousListVO';
|
|
25
|
-
export declare function apiPlvNetApi(
|
|
25
|
+
export declare function apiPlvNetApi(j74: PLVChannelData | string): PLVApiPlvNetApi;
|
|
26
26
|
export declare class PLVApiPlvNetApi extends PLVHttpRequest {
|
|
27
27
|
constructor();
|
|
28
|
-
checkLoginToken(
|
|
29
|
-
getLiveStatus(
|
|
30
|
-
getLiveDetail(
|
|
31
|
-
getChatFunctionSwitch(
|
|
32
|
-
getChatToken(
|
|
33
|
-
reportPageViewer(
|
|
34
|
-
getPageViewer(
|
|
35
|
-
sendLikes(
|
|
36
|
-
getRewardSetting(
|
|
37
|
-
getRewardPoint(
|
|
38
|
-
makePointReward(
|
|
39
|
-
makeGiftCashReward(
|
|
40
|
-
getRedpackReceiveStatus(
|
|
41
|
-
getDelayRedpackStatus(
|
|
42
|
-
getChannelLinkMicStatus(
|
|
43
|
-
getARTCMicAuth(
|
|
44
|
-
getTRTCMicAuth(
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
28
|
+
checkLoginToken(e74?: string, f74?: string, g74?: string, h74?: string, i74?: string): Promise<PLVResponseData<PLVChatDomainVO>>;
|
|
29
|
+
getLiveStatus(b74?: string, c74?: string, d74?: string): Promise<PLVResponseData<PLVLiveStatusVO>>;
|
|
30
|
+
getLiveDetail(y73?: string, z73?: string, a74?: string): Promise<PLVResponseData<PLVLiveDetailVO>>;
|
|
31
|
+
getChatFunctionSwitch(x73?: string): Promise<PLVResponseData<object[]>>;
|
|
32
|
+
getChatToken(s73?: string, t73?: string, u73?: string, v73?: string, w73?: string): Promise<PLVResponseData<PLVChatTokenVO>>;
|
|
33
|
+
reportPageViewer(p73?: string, q73?: string, r73?: string): Promise<PLVResponseData<PLVReportPageViewerVO>>;
|
|
34
|
+
getPageViewer(o73?: string): Promise<PLVResponseData<PLVGetPageViewerVO>>;
|
|
35
|
+
sendLikes(j73?: string, k73?: string, l73?: string, m73?: string, n73?: number): Promise<PLVResponseObject>;
|
|
36
|
+
getRewardSetting(g73?: string, h73?: string, i73?: string): Promise<PLVResponseData<PLVRewardSettingVO>>;
|
|
37
|
+
getRewardPoint(b73?: string, c73?: string, d73?: string, e73?: string, f73?: string): Promise<PLVResponseData<PLVRewardPointVO>>;
|
|
38
|
+
makePointReward(t72?: string, u72?: string, v72?: string, w72?: string, x72?: string, y72?: string, z72?: number, a73?: number): Promise<PLVResponseData<PLVRewardPointVO>>;
|
|
39
|
+
makeGiftCashReward(k72?: string, l72?: string, m72?: string, n72?: string, o72?: string, p72?: string, q72?: number, r72?: number, s72?: string): Promise<PLVResponseObject>;
|
|
40
|
+
getRedpackReceiveStatus(c72?: string, d72?: string, e72?: string, f72?: string, g72?: string, h72?: string): Promise<PLVResponseObject>;
|
|
41
|
+
getDelayRedpackStatus(a72?: string, b72?: string): Promise<PLVResponseObject>;
|
|
42
|
+
getChannelLinkMicStatus(u71: string, v71: string, w71: string, x71: string, y71: boolean, z71: string): Promise<PLVResponseData<PLVLinkMicChannelStatus>>;
|
|
43
|
+
getARTCMicAuth(o71: string, p71: string, q71: string, r71: PLVLinkMicTokenRequestStatisticsData): Promise<PLVResponseData<string>>;
|
|
44
|
+
getTRTCMicAuth(k71: string, l71: string, m71: string, n71: PLVLinkMicTokenRequestStatisticsData): Promise<PLVResponseData<string>>;
|
|
45
|
+
getVRTCMicAuth(g71: string, h71: string, i71: string, j71: PLVLinkMicTokenRequestStatisticsData): Promise<PLVResponseData<string>>;
|
|
46
|
+
reportARTCLinkMicRelation(b71: string, c71: string, d71: string, e71: string, f71: string): Promise<void>;
|
|
47
|
+
loginStreamer(y70: string, z70: string, a71: string): Promise<PLVResponseData<PLVLoginStreamerVO>>;
|
|
48
|
+
notifyStreamStart(r70: string, s70: string, t70: string, u70: string, v70: string, w70: number, x70: number): Promise<PLVResponseData<string>>;
|
|
49
|
+
notifyStreamEnd(m70: string, n70: string, o70: string, p70: string, q70: string): Promise<PLVResponseData<string>>;
|
|
50
|
+
mixAction(j70: string, k70: string, l70: PLVStreamerMixActionVO): Promise<PLVResponseData<PLVStreamerMixActionResponse>>;
|
|
51
|
+
getStreamerSessionId(f70: string, g70: string, h70: string, i70: string): Promise<PLVResponseData<PLVStreamerSessionIdQueryResponse>>;
|
|
52
|
+
updateChannelBasic(b70: string, c70: string, d70: string, e70: PLVLiveChannelSettingUpdateRequestVO): Promise<PLVResponseData<string>>;
|
|
53
|
+
getListUsers(t69: string, u69: string, v69: string, w69: string, x69: number, y69: number, z69: number, a70: boolean): Promise<PLVResponseData<RecursiveNullable<PLVMemberListResponseData>>>;
|
|
54
|
+
getLiveStatusSessionId(r69: string, s69: string): Promise<PLVResponseObject>;
|
|
55
|
+
getImageUploadToken(o69: string, p69: string, q69: string): Promise<PLVResponseData<PLVChatImageUploadTokenVO>>;
|
|
56
|
+
getInvitePosterSetting(l69: string, m69: string, n69: string): Promise<PLVResponseData<PLVInvitePosterSettingVO>>;
|
|
57
|
+
getPreviousList(f69?: string, g69?: string, h69?: string, i69?: number, j69?: number, k69?: 'vod' | 'playback'): Promise<PLVResponseData<PLVPreviousListVO>>;
|
|
57
58
|
}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
// @ts-nocheck
|
|
3
3
|
import { PLVHttpRequest, PLVResponseObject } from '@polyvharmony/live-scenes-foundation';
|
|
4
4
|
import { PLVChannelData } from '../../common/PLVChannelData';
|
|
5
|
-
export declare function eLogPlvNetApi(
|
|
5
|
+
export declare function eLogPlvNetApi(m74: PLVChannelData): PLVELogPlvNetApi;
|
|
6
6
|
export declare class PLVELogPlvNetApi extends PLVHttpRequest {
|
|
7
7
|
constructor();
|
|
8
|
-
reportLiveELog(
|
|
8
|
+
reportLiveELog(k74?: string, l74?: string): Promise<PLVResponseObject>;
|
|
9
9
|
}
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import { PLVHttpRequest, PLVResponseData } from '@polyvharmony/live-scenes-foundation';
|
|
4
4
|
import { PLVChannelData } from '../../common/PLVChannelData';
|
|
5
5
|
import { PLVCardPushVO } from '../interact/pushcard/model/PLVCardPushVO';
|
|
6
|
-
export declare function apiPlvLiveImagesApi(
|
|
6
|
+
export declare function apiPlvLiveImagesApi(z74: PLVChannelData | string): PLVLiveImagesVideoNetApi;
|
|
7
7
|
export declare class PLVLiveImagesVideoNetApi extends PLVHttpRequest {
|
|
8
8
|
constructor();
|
|
9
|
-
getCardPushInfo(
|
|
10
|
-
uploadLiveImages(
|
|
9
|
+
getCardPushInfo(v74?: string, w74?: string): Promise<PLVResponseData<PLVCardPushVO>>;
|
|
10
|
+
uploadLiveImages(n74: string, o74: string, p74: string, q74: string, r74: string, s74: string, t74: ArrayBuffer): Promise<string>;
|
|
11
11
|
}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
// @ts-nocheck
|
|
3
3
|
import { PLVHttpRequest, PLVResponseData } from "@polyvharmony/live-scenes-foundation";
|
|
4
4
|
import { PLVChannelData } from "../../common/PLVChannelData";
|
|
5
|
-
export declare function createNGBPushApi(
|
|
5
|
+
export declare function createNGBPushApi(b75: PLVChannelData | string): PLVNGBPushApi;
|
|
6
6
|
export declare class PLVNGBPushApi extends PLVHttpRequest {
|
|
7
7
|
constructor();
|
|
8
|
-
getNGBPushStreamUrl(
|
|
8
|
+
getNGBPushStreamUrl(a75: string): Promise<PLVResponseData<string>>;
|
|
9
9
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { PLVHttpRequest } from "@polyvharmony/live-scenes-foundation";
|
|
4
4
|
import { PLVChannelData } from "../../common/PLVChannelData";
|
|
5
5
|
import { PLVLiveViewLogVO } from "../business/model/PLVLiveViewLogVO";
|
|
6
|
-
export declare function rtasVideoNetApi(
|
|
6
|
+
export declare function rtasVideoNetApi(d75: PLVChannelData | string): PLVRtasVideoNetApi;
|
|
7
7
|
export declare class PLVRtasVideoNetApi extends PLVHttpRequest {
|
|
8
8
|
constructor();
|
|
9
|
-
sendLiveViewLog(
|
|
9
|
+
sendLiveViewLog(c75: PLVLiveViewLogVO): Promise<void>;
|
|
10
10
|
}
|
|
@@ -5,10 +5,10 @@ import { PLVBaseModule } from '../../common/PLVBaseModule';
|
|
|
5
5
|
import { PLVChannelData } from '../../common/PLVChannelData';
|
|
6
6
|
export declare class PLVPlayerManager extends PLVBaseModule {
|
|
7
7
|
private readonly _mainMediaPlayer;
|
|
8
|
-
constructor(
|
|
8
|
+
constructor(p113: PLVChannelData);
|
|
9
9
|
get mainMediaPlayer(): PLVMediaPlayer;
|
|
10
|
-
startMainMediaPlayerWithComponent(
|
|
11
|
-
changePlaybackVid(
|
|
10
|
+
startMainMediaPlayerWithComponent(t76: object): void;
|
|
11
|
+
changePlaybackVid(s76?: string): void;
|
|
12
12
|
private setMainMediaPlayerResource;
|
|
13
13
|
private setMediaResourceToPlayback;
|
|
14
14
|
release(): void;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { PLVPlayerManager } from "./PLVPlayerManager";
|
|
4
4
|
export declare class PLVPlayerMediator {
|
|
5
5
|
private readonly playerManager;
|
|
6
|
-
constructor(
|
|
6
|
+
constructor(x76: PLVPlayerManager);
|
|
7
7
|
get viewLogReportFrequency(): number;
|
|
8
8
|
get videoCurrentPosition(): number;
|
|
9
9
|
get pptPlayType(): string;
|
|
@@ -39,16 +39,16 @@ export declare class PLVPreviousManager extends PLVBaseModule {
|
|
|
39
39
|
chapterListPromise: PLVPromiseValue<PLVStatefulData<PLVChapterDataVO[]>>;
|
|
40
40
|
private lastRequestChapterId;
|
|
41
41
|
private observes;
|
|
42
|
-
constructor(
|
|
42
|
+
constructor(n76: PLVChannelData, o76: PLVPlayerMediator);
|
|
43
43
|
/**
|
|
44
44
|
* 改变选中的往期数据索引
|
|
45
45
|
*/
|
|
46
|
-
changeSelPreviousIndex(
|
|
46
|
+
changeSelPreviousIndex(m76: number): void;
|
|
47
47
|
/**
|
|
48
48
|
* 改变选中的章节数据索引
|
|
49
49
|
* @param isPostChanged 是否要改变播放进度
|
|
50
50
|
*/
|
|
51
|
-
changeSelChapterIndex(
|
|
51
|
+
changeSelChapterIndex(k76: number, l76?: boolean): void;
|
|
52
52
|
/**
|
|
53
53
|
* 请求往期列表
|
|
54
54
|
* @returns
|
|
@@ -65,11 +65,11 @@ export declare class PLVPreviousManager extends PLVBaseModule {
|
|
|
65
65
|
export declare class PLVSelPreviousData {
|
|
66
66
|
index: number;
|
|
67
67
|
videoPoolId?: string;
|
|
68
|
-
constructor(
|
|
68
|
+
constructor(j75: number, k75?: string);
|
|
69
69
|
}
|
|
70
70
|
export declare class PLVSelChapterData {
|
|
71
71
|
index: number;
|
|
72
72
|
timeMillisecond?: number;
|
|
73
73
|
isPostChanged?: boolean;
|
|
74
|
-
constructor(
|
|
74
|
+
constructor(g75: number, h75?: number, i75?: boolean);
|
|
75
75
|
}
|
|
@@ -14,14 +14,14 @@ export declare class PLVPPTWebController extends PLVWebController {
|
|
|
14
14
|
private callbacks;
|
|
15
15
|
eventNotify: PLVEventNotify<EventType>;
|
|
16
16
|
private observers;
|
|
17
|
-
constructor(
|
|
18
|
-
updateDelayTime(
|
|
19
|
-
setSEIData(
|
|
20
|
-
changePPTPage(
|
|
21
|
-
videoStart(
|
|
17
|
+
constructor(g79: PLVChannelData, h79: PLVSocketMediator, i79: PLVPlayerMediator, j79?: string);
|
|
18
|
+
updateDelayTime(f79: boolean): void;
|
|
19
|
+
setSEIData(d79: number): void;
|
|
20
|
+
changePPTPage(b79: ChangePPTType): void;
|
|
21
|
+
videoStart(y78?: string, z78?: string): void;
|
|
22
22
|
pptPlay(): void;
|
|
23
23
|
pptPause(): void;
|
|
24
|
-
pptSeek(
|
|
24
|
+
pptSeek(u78: number): void;
|
|
25
25
|
destroy(): void;
|
|
26
26
|
private init;
|
|
27
27
|
private onPlayerData;
|
|
@@ -21,27 +21,27 @@ export declare class PLVProductManager extends PLVBaseModule {
|
|
|
21
21
|
* 事件通知
|
|
22
22
|
*/
|
|
23
23
|
eventNotify: IPLVEventNotify<EventType>;
|
|
24
|
-
constructor(
|
|
24
|
+
constructor(g82: PLVChannelData, h82: PLVSocketMediator);
|
|
25
25
|
/**
|
|
26
26
|
* 通知是否有商品推送
|
|
27
27
|
* @param pushContentBean 不为undefined即为有商品推送
|
|
28
28
|
*/
|
|
29
|
-
notifyPush(
|
|
29
|
+
notifyPush(f82?: PLVProductContentBean): void;
|
|
30
30
|
/**
|
|
31
31
|
* 通知商品库开关
|
|
32
32
|
* @param isOpen
|
|
33
33
|
*/
|
|
34
|
-
notifyOpen(
|
|
34
|
+
notifyOpen(e82: boolean): void;
|
|
35
35
|
/**
|
|
36
36
|
* 通知商品推送的点击次数
|
|
37
37
|
* @param clickTimes
|
|
38
38
|
*/
|
|
39
|
-
notifyClickTimes(
|
|
39
|
+
notifyClickTimes(d82: number): void;
|
|
40
40
|
/**
|
|
41
41
|
* 通知商品推送被移动
|
|
42
42
|
* @param showId
|
|
43
43
|
*/
|
|
44
|
-
notifyMove(
|
|
44
|
+
notifyMove(c82?: number): void;
|
|
45
45
|
/**
|
|
46
46
|
* 通知商品推送被点击
|
|
47
47
|
*/
|
|
@@ -43,7 +43,7 @@ export declare class PLVProductContentBean {
|
|
|
43
43
|
isFinanceProduct(): boolean;
|
|
44
44
|
isPositionProduct(): boolean;
|
|
45
45
|
isBigProduct(): boolean;
|
|
46
|
-
getParsedFeatures(
|
|
46
|
+
getParsedFeatures(g81?: number): string[];
|
|
47
47
|
getTreatment(): string;
|
|
48
48
|
isPriceOpened(): boolean;
|
|
49
49
|
}
|
|
@@ -18,46 +18,46 @@ export declare class PLVRedpackManager extends PLVBaseModule {
|
|
|
18
18
|
private redpackMap;
|
|
19
19
|
private localDataSource;
|
|
20
20
|
eventDataNotify: IPLVEventNotify<EventDataType>;
|
|
21
|
-
constructor(
|
|
21
|
+
constructor(c85: PLVChannelData);
|
|
22
22
|
/**
|
|
23
23
|
* 缓存红包数据
|
|
24
24
|
* @param redPaperEvent
|
|
25
25
|
*/
|
|
26
|
-
cacheRedPaper(
|
|
26
|
+
cacheRedPaper(b85: PLVRedPaperEvent): void;
|
|
27
27
|
/**
|
|
28
28
|
* 获取红包数据
|
|
29
29
|
*/
|
|
30
|
-
getCachedRedPaper(
|
|
30
|
+
getCachedRedPaper(a85: string): PLVRedPaperEvent | undefined;
|
|
31
31
|
/**
|
|
32
32
|
* 通过redpackId更新红包状态
|
|
33
33
|
* @param redpackId
|
|
34
34
|
* @param receiveType
|
|
35
35
|
*/
|
|
36
|
-
updateRedPaperReceiveStatus(
|
|
36
|
+
updateRedPaperReceiveStatus(x84?: string, y84?: RedPaperReceiveType): void;
|
|
37
37
|
/**
|
|
38
38
|
* 获取当前红包状态
|
|
39
39
|
* @param redPaperEvent
|
|
40
40
|
* @param channelId
|
|
41
41
|
* @param viewerId
|
|
42
42
|
*/
|
|
43
|
-
receiveRedPaper(
|
|
44
|
-
onRedPaperResultEvent(
|
|
43
|
+
receiveRedPaper(r84: PLVRedPaperEvent, s84?: string, t84?: string): Promise<void>;
|
|
44
|
+
onRedPaperResultEvent(p84: PLVRedPaperResultEvent): void;
|
|
45
45
|
/**
|
|
46
46
|
* 发送当前红包状态
|
|
47
47
|
* @param delayEvent
|
|
48
48
|
*/
|
|
49
|
-
notifyPostValue(
|
|
49
|
+
notifyPostValue(n84?: PLVRedPaperForDelayEvent): void;
|
|
50
50
|
/**
|
|
51
51
|
* 获取本地缓存的红包状态
|
|
52
52
|
* @param redpackId
|
|
53
53
|
* @returns
|
|
54
54
|
*/
|
|
55
|
-
getLocalCachedReceiveStatus(
|
|
55
|
+
getLocalCachedReceiveStatus(l84?: string): Promise<string>;
|
|
56
56
|
/**
|
|
57
57
|
* 更新延迟红包状态
|
|
58
58
|
* @param channelId
|
|
59
59
|
*/
|
|
60
|
-
updateDelayRedpackStatus(
|
|
60
|
+
updateDelayRedpackStatus(j84?: string): void;
|
|
61
61
|
/**
|
|
62
62
|
* 请求服务端获取红包状态
|
|
63
63
|
* @param redPackId
|
|
@@ -7,5 +7,5 @@ export declare class PLVRedpackCacheVO {
|
|
|
7
7
|
roomId: string;
|
|
8
8
|
viewerId: string;
|
|
9
9
|
redPaperReceiveType: string;
|
|
10
|
-
constructor(
|
|
10
|
+
constructor(q113: string, r113: string, s113: string, t113: string, u113: string, v113: string);
|
|
11
11
|
}
|
|
@@ -10,8 +10,8 @@ export declare class PLVRedpackLocalDataSource {
|
|
|
10
10
|
private static instance;
|
|
11
11
|
private constructor();
|
|
12
12
|
static getIntance(): PLVRedpackLocalDataSource;
|
|
13
|
-
initDB(
|
|
14
|
-
updateReceiveStatus(
|
|
15
|
-
getReceiveStatus(
|
|
16
|
-
static createPrimaryKey(
|
|
13
|
+
initDB(f83: common.UIAbilityContext): Promise<void>;
|
|
14
|
+
updateReceiveStatus(x82: PLVRedPaperEvent, y82?: string, z82?: string, a83?: string): Promise<void>;
|
|
15
|
+
getReceiveStatus(q82?: string, r82?: string): Promise<string>;
|
|
16
|
+
static createPrimaryKey(o82: string, p82: string): string;
|
|
17
17
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { Database, OpenHelper } from '@ohos/dataorm';
|
|
4
4
|
import common from "@ohos.app.ability.common";
|
|
5
5
|
export declare class PLVRedpackOpenHelper extends OpenHelper {
|
|
6
|
-
constructor(
|
|
7
|
-
onCreateDatabase(
|
|
8
|
-
onUpgradeDatabase(
|
|
9
|
-
onDowngradeDatabase(
|
|
6
|
+
constructor(p83: common.UIAbilityContext, q83: string, r83?: string);
|
|
7
|
+
onCreateDatabase(o83: Database): Promise<void>;
|
|
8
|
+
onUpgradeDatabase(l83: Database, m83: number, n83: number): Promise<void>;
|
|
9
|
+
onDowngradeDatabase(i83: Database, j83: number, k83: number): Promise<void>;
|
|
10
10
|
}
|
|
@@ -35,14 +35,14 @@ export declare class PLVRewardManager extends PLVBaseModule {
|
|
|
35
35
|
* @param goodNum
|
|
36
36
|
* @returns
|
|
37
37
|
*/
|
|
38
|
-
makePointReward(
|
|
38
|
+
makePointReward(s85: number, t85: number): Promise<number>;
|
|
39
39
|
/**
|
|
40
40
|
* 道具打赏
|
|
41
41
|
* @param goodId
|
|
42
42
|
* @param goodNum
|
|
43
43
|
* @returns
|
|
44
44
|
*/
|
|
45
|
-
makeGiftCashReward(
|
|
45
|
+
makeGiftCashReward(m85: number, n85: number): Promise<object>;
|
|
46
46
|
/**
|
|
47
47
|
* 销毁
|
|
48
48
|
*/
|
|
@@ -35,7 +35,7 @@ export declare class PLVSocketManager extends PLVSocketIO implements IPLVBaseMod
|
|
|
35
35
|
*/
|
|
36
36
|
eventNotify_socketData: IPLVEventNotify;
|
|
37
37
|
private getTokenDisposable;
|
|
38
|
-
constructor(
|
|
38
|
+
constructor(w88: PLVChannelData);
|
|
39
39
|
/**
|
|
40
40
|
* 登录socket
|
|
41
41
|
*/
|
|
@@ -45,18 +45,18 @@ export declare class PLVSocketManager extends PLVSocketIO implements IPLVBaseMod
|
|
|
45
45
|
* @param callback
|
|
46
46
|
* @param onTag
|
|
47
47
|
*/
|
|
48
|
-
onStatus(
|
|
48
|
+
onStatus(u88: Function, v88?: string | Object): void;
|
|
49
49
|
/**
|
|
50
50
|
* 取消监听socket连接状态
|
|
51
51
|
* @param callback
|
|
52
52
|
* @param onTag
|
|
53
53
|
*/
|
|
54
|
-
offStatus(
|
|
54
|
+
offStatus(s88: Function, t88?: string | Object): void;
|
|
55
55
|
/**
|
|
56
56
|
* 添加所需监听的socket事件
|
|
57
57
|
* @param onEvents
|
|
58
58
|
*/
|
|
59
|
-
addOnEvent(
|
|
59
|
+
addOnEvent(p88: string[]): void;
|
|
60
60
|
/**
|
|
61
61
|
* 是否处于已连接状态
|
|
62
62
|
* @returns
|
|
@@ -66,12 +66,12 @@ export declare class PLVSocketManager extends PLVSocketIO implements IPLVBaseMod
|
|
|
66
66
|
* 断开
|
|
67
67
|
* @param noCallSocketClose
|
|
68
68
|
*/
|
|
69
|
-
disconnect(
|
|
69
|
+
disconnect(o88?: boolean | undefined): void;
|
|
70
70
|
/**
|
|
71
71
|
* 销毁
|
|
72
72
|
* @param noCallSocketClose
|
|
73
73
|
*/
|
|
74
|
-
destroy(
|
|
74
|
+
destroy(n88?: boolean): void;
|
|
75
75
|
private loginRoom;
|
|
76
76
|
private onSocketIOStatus;
|
|
77
77
|
private attachListeners;
|
|
@@ -87,7 +87,7 @@ export declare class PLVSocketManager extends PLVSocketIO implements IPLVBaseMod
|
|
|
87
87
|
*/
|
|
88
88
|
export declare class PLVChildRoomEnabledStatus {
|
|
89
89
|
childRoomEnabled?: boolean;
|
|
90
|
-
constructor(
|
|
90
|
+
constructor(g87?: boolean);
|
|
91
91
|
}
|
|
92
92
|
/**
|
|
93
93
|
* socket连接状态
|
|
@@ -95,7 +95,7 @@ export declare class PLVChildRoomEnabledStatus {
|
|
|
95
95
|
export declare class PLVSocketStatusSup {
|
|
96
96
|
socketStatus: PLVSocketStatus;
|
|
97
97
|
error?: Error;
|
|
98
|
-
constructor(
|
|
98
|
+
constructor(e87: PLVSocketStatus, f87?: Error);
|
|
99
99
|
}
|
|
100
100
|
/**
|
|
101
101
|
* socket连接状态枚举
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
import { PLVSocketManager } from './PLVSocketManager';
|
|
4
4
|
export declare class PLVSocketMediator {
|
|
5
5
|
private socketManager;
|
|
6
|
-
constructor(
|
|
7
|
-
onData(
|
|
8
|
-
offData(
|
|
9
|
-
onStatus(
|
|
10
|
-
offStatus(
|
|
11
|
-
emit(
|
|
12
|
-
addOnEvent(
|
|
6
|
+
constructor(l89: PLVSocketManager);
|
|
7
|
+
onData(i89: string, j89: Function, k89?: string | Object): void;
|
|
8
|
+
offData(f89: string, g89: Function, h89?: string | Object): void;
|
|
9
|
+
onStatus(d89: Function, e89?: string | Object): void;
|
|
10
|
+
offStatus(b89: Function, c89?: string | Object): void;
|
|
11
|
+
emit(y88: string, z88: ESObject, a89?: (emit_callback_json: string) => void): boolean;
|
|
12
|
+
addOnEvent(x88: string[]): void;
|
|
13
13
|
connected(): boolean;
|
|
14
14
|
}
|