API changelog
This page provides the list of API changes in PlanetKit 1.0 for Flutter.
v1.0.0
Changed
-
PlanetKitCall
class 1-to-1 callPrevious PlanetKit 1.0.0 Future<bool> acceptCall({bool useResponderPreparation = false})
Future<bool> acceptCall({bool useResponderPreparation = false, initialMyVideoState = PlanetKitInitialMyVideoState.resume})
-
PlanetKitConference
class Group callPrevious PlanetKit 1.0.0 Future<bool> enableVideo()
Future<bool> enableVideo({initialMyVideoState = PlanetKitInitialMyVideoState.resume})
-
PlanetKitCallEventHandler
class 1-to-1 callPrevious PlanetKit 1.0.0 final void Function(PlanetKitCall call, PlanetKitDisconnectReason reason, PlanetKitDisconnectSource source, bool byRemote) onDisconnected
final void Function(PlanetKitCall call, PlanetKitDisconnectReason reason, PlanetKitDisconnectSource source, String? userCode, bool byRemote) onDisconnected
Added
PlanetKitInitialMyVideoState
enum 1-to-1 callGroup callPlanetKitCameraEvent
enum 1-to-1 callGroup callPlanetKitCamera.onCameraEvent
property 1-to-1 callGroup callPlanetKitMakeCallParam.myCountryCode
property 1-to-1 callPlanetKitMakeCallParam.peerCountryCode
property 1-to-1 callPlanetKitMakeCallParamBuilder.setMyCountryCode
function 1-to-1 callPlanetKitMakeCallParamBuilder.setPeerCountryCode
function 1-to-1 callPlanetKitDisconnectReason.maxCallTimeExceeded
enum case 1-to-1 callGroup callPlanetKitDisconnectReason.desktopScreenLocked
enum case 1-to-1 callGroup callPlanetKitDisconnectReason.serviceTooManyRequests
enum case 1-to-1 callGroup callPlanetKitMakeCallParam.allowCallWithoutMicPermission
property 1-to-1 callPlanetKitMakeCallParamBuilder.setAllowCallWithoutMicPermission
function 1-to-1 callPlanetKitVerifyCallParam.allowCallWithoutMicPermission
property 1-to-1 callPlanetKitVerifyCallParamBuilder.setAllowCallWithoutMicPermission
function 1-to-1 callPlanetKitJoinConferenceParam.allowConferenceWithoutMicPermission
property Group callPlanetKitJoinConferenceParamBuilder.setAllowConferenceWithoutMicPermission
function Group call
Removed
- None