Not able to join the meeting from kotlin jetpack compose

fun joinMeeting(context: Context) {
val zoomSDK = ZoomSDK.getInstance()
val meetingService = zoomSDK.meetingService
val options = JoinMeetingOptions()
val params = JoinMeetingParams().apply {
displayName = “Hema” // TODO: Enter your name
meetingNo = “717 3707 2870”
password = “9aWPzy”
}
var result = meetingService.joinMeetingWithParams(context, params, options)

            if (result == MeetingError.MEETING_ERROR_SUCCESS) {
                return
            } else {
                Log.e("ZoomMeeting", "Failed to join meeting: $result")
            }

            if (meetingService.meetingStatus == MeetingStatus.MEETING_STATUS_IDLE) {
                zoomSDK.zoomUIService.setNewMeetingUI(MyNewMeetingActivity::class.java)
            } else {
                meetingService.returnToMeeting(context)
            }
        }

Is there any solution?