AliVCSDK 6.17.0
阿里云音视频SDK,为视频开发者提供一站式接入服务
 
Loading...
Searching...
No Matches
com.alivc.live.pusher.AlivcLiveBaseListener Class Referenceabstract

Live Push base listener. More...

Public Member Functions

abstract void onLicenceCheck (AlivcLivePushConstants.AlivcLiveLicenseCheckResultCode result, String reason)
 

Detailed Description

Live Push base listener.

Author
aliyun live push sdk
Call Example
「Main API」AliLive Base Interface
static void setListener(AlivcLiveBaseListener listener)
See also
Integrate a Push SDK license

Definition at line 13 of file AlivcLiveBaseListener.java.

Member Function Documentation

◆ onLicenceCheck()

abstract void com.alivc.live.pusher.AlivcLiveBaseListener.onLicenceCheck ( AlivcLivePushConstants.AlivcLiveLicenseCheckResultCode  result,
String  reason 
)
abstract

The async result callback after registering sdk license

Parameters
resultthe license async result, 'AlivcLiveLicenseCheckResultCodeSuccess' indicates success, while others indicate failure
reasonreason
Note
This callback corresponds to the interface: AlivcLiveBase#registerSDK()
After calling AlivcLiveBase#registerSDK() , asynchronously verify License authentication
Trigger timing: After instantiating AlivcLivePusher, trigger the callback to obtain the latest asynchronous authentication result