본문으로 건너뛰기
Version: 1.0

API 변경 내역

Flutter용 PlanetKit 1.0의 API 변경 내역은 다음과 같습니다.

v1.0.0

변경

  • PlanetKitCall class 1-to-1 call

    이전 버전PlanetKit 1.0.0
    Future<bool> acceptCall({bool useResponderPreparation = false})Future<bool> acceptCall({bool useResponderPreparation = false, initialMyVideoState = PlanetKitInitialMyVideoState.resume})
  • PlanetKitConference class Group call

    이전 버전PlanetKit 1.0.0
    Future<bool> enableVideo()Future<bool> enableVideo({initialMyVideoState = PlanetKitInitialMyVideoState.resume})
  • PlanetKitCallEventHandler class 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

추가

  • PlanetKitInitialMyVideoState enum 1-to-1 callGroup call
  • PlanetKitCameraEvent enum 1-to-1 callGroup call
  • PlanetKitCamera.onCameraEvent property 1-to-1 callGroup call
  • PlanetKitMakeCallParam.myCountryCode property 1-to-1 call
  • PlanetKitMakeCallParam.peerCountryCode property 1-to-1 call
  • PlanetKitMakeCallParamBuilder.setMyCountryCode function 1-to-1 call
  • PlanetKitMakeCallParamBuilder.setPeerCountryCode function 1-to-1 call
  • PlanetKitDisconnectReason.maxCallTimeExceeded enum case 1-to-1 callGroup call
  • PlanetKitDisconnectReason.desktopScreenLocked enum case 1-to-1 callGroup call
  • PlanetKitDisconnectReason.serviceTooManyRequests enum case 1-to-1 callGroup call
  • PlanetKitMakeCallParam.allowCallWithoutMicPermission property 1-to-1 call
  • PlanetKitMakeCallParamBuilder.setAllowCallWithoutMicPermission function 1-to-1 call
  • PlanetKitVerifyCallParam.allowCallWithoutMicPermission property 1-to-1 call
  • PlanetKitVerifyCallParamBuilder.setAllowCallWithoutMicPermission function 1-to-1 call
  • PlanetKitJoinConferenceParam.allowConferenceWithoutMicPermission property Group call
  • PlanetKitJoinConferenceParamBuilder.setAllowConferenceWithoutMicPermission function Group call

삭제

  • 없음