API changelog
This page provides the list of API changes in PlanetKit 1.0 for Flutter.
v1.0.0
Changed
-
PlanetKitCallclass 1-to-1 callPrevious PlanetKit 1.0.0 Future<bool> acceptCall({bool useResponderPreparation = false})Future<bool> acceptCall({bool useResponderPreparation = false, initialMyVideoState = PlanetKitInitialMyVideoState.resume}) -
PlanetKitConferenceclass Group callPrevious PlanetKit 1.0.0 Future<bool> enableVideo()Future<bool> enableVideo({initialMyVideoState = PlanetKitInitialMyVideoState.resume}) -
PlanetKitCallEventHandlerclass 1-to-1 callPrevious PlanetKit 1.0.0 final void Function(PlanetKitCall call, PlanetKitDisconnectReason reason, PlanetKitDisconnectSource source, bool byRemote) onDisconnectedfinal void Function(PlanetKitCall call, PlanetKitDisconnectReason reason, PlanetKitDisconnectSource source, String? userCode, bool byRemote) onDisconnected
Added
PlanetKitInitialMyVideoStateenum 1-to-1 callGroup callPlanetKitCameraEventenum 1-to-1 callGroup callPlanetKitCamera.onCameraEventproperty 1-to-1 callGroup callPlanetKitMakeCallParam.myCountryCodeproperty 1-to-1 callPlanetKitMakeCallParam.peerCountryCodeproperty 1-to-1 callPlanetKitMakeCallParamBuilder.setMyCountryCodefunction 1-to-1 callPlanetKitMakeCallParamBuilder.setPeerCountryCodefunction 1-to-1 callPlanetKitDisconnectReason.maxCallTimeExceededenum case 1-to-1 callGroup callPlanetKitDisconnectReason.desktopScreenLockedenum case 1-to-1 callGroup callPlanetKitDisconnectReason.serviceTooManyRequestsenum case 1-to-1 callGroup callPlanetKitMakeCallParam.allowCallWithoutMicPermissionproperty 1-to-1 callPlanetKitMakeCallParamBuilder.setAllowCallWithoutMicPermissionfunction 1-to-1 callPlanetKitVerifyCallParam.allowCallWithoutMicPermissionproperty 1-to-1 callPlanetKitVerifyCallParamBuilder.setAllowCallWithoutMicPermissionfunction 1-to-1 callPlanetKitJoinConferenceParam.allowConferenceWithoutMicPermissionproperty Group callPlanetKitJoinConferenceParamBuilder.setAllowConferenceWithoutMicPermissionfunction Group call
Removed
- None