API 변경 내역
Flutter용 PlanetKit 1.0의 API 변경 내역은 다음과 같습니다.
v1.0.0
변경
-
PlanetKitCallclass 1-to-1 call이전 버전 PlanetKit 1.0.0 Future<bool> acceptCall({bool useResponderPreparation = false})Future<bool> acceptCall({bool useResponderPreparation = false, initialMyVideoState = PlanetKitInitialMyVideoState.resume}) -
PlanetKitConferenceclass Group call이전 버전 PlanetKit 1.0.0 Future<bool> enableVideo()Future<bool> enableVideo({initialMyVideoState = PlanetKitInitialMyVideoState.resume}) -
PlanetKitCallEventHandlerclass 1-to-1 call이전 버전 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
추가
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
삭제
- 없음