Release notes
This page provides the release notes of PlanetKit 1.0 for Flutter.
v1.0.0
Release date: 2025-03-14
Add PlanetKitInitialMyVideoState
PlanetKitInitialMyVideoState
is an enum class added to determine the state of the local user's video when a video call is activated.- The default value for a property or parameter of type
PlanetKitInitialMyVideoState
isPlanetKitInitialMyVideoState.resume
.
API
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})
Added
PlanetKitInitialMyVideoState
enum 1-to-1 callGroup callresume
pause
Add the camera state monitoring feature
- The camera state can be now monitored with
PlanetKitCameraEvent
.
API
Added
PlanetKitCameraEvent
enum 1-to-1 callGroup callstart
stop
error
PlanetKitCamera
class 1-to-1 callGroup callStream<PlanetKitCameraEvent> get onCameraEvent
Add country code configuration for 1-to-1 calls
- This feature allows the user to set both the
myCountryCode
andpeerCountryCode
when initiating a call. When these country codes are configured, calls are routed to the appropriate server based on the input values. If a country code is not set (null), the LINE Planet system will automatically choose the most suitable server for connecting the call.
API
Added
PlanetKitMakeCallParam
class 1-to-1 callfinal String? myCountryCode
final String? peerCountryCode
PlanetKitMakeCallParamBuilder
1-to-1 callPlanetKitMakeCallParamBuilder setMyCountryCode(String myCountryCode)
PlanetKitMakeCallParamBuilder setPeerCountryCode(String peerCountryCode)
Add new disconnect reasons
- Added new disconnect reasons.
API
Added
PlanetKitDisconnectReason
enum 1-to-1 callGroup callmaxCallTimeExceeded
desktopScreenLocked
serviceTooManyRequests
Add a user release code to the call disconnected event
- A user release code has been added to
PlanetKitCallEventHandler.onDisconnected
.
API
Changed
-
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
Add options to allow 1-to-1 calls and group calls without microphone permission (Android only)
- Set
allowCallWithoutMicPermission
orallowConferenceWithoutMicPermission
totrue
to use PlanetKit call without the microphone permission in Android platform.
API
Added
PlanetKitMakeCallParam
class 1-to-1 callfinal bool? allowCallWithoutMicPermission
PlanetKitMakeCallParamBuilder
class 1-to-1 callPlanetKitMakeCallParamBuilder setAllowCallWithoutMicPermission(bool allow)
PlanetKitVerifyCallParam
class 1-to-1 callfinal bool? allowCallWithoutMicPermission
PlanetKitVerifyCallParamBuilder
class 1-to-1 callPlanetKitVerifyCallParamBuilder setAllowCallWithoutMicPermission(bool allow)
PlanetKitJoinConferenceParam
class Group callfinal bool? allowConferenceWithoutMicPermission
PlanetKitJoinConferenceParamBuilder
class Group callPlanetKitJoinConferenceParamBuilder setAllowConferenceWithoutMicPermission(bool allow)