Android Mobile SDK
SDK ver 1.13.0
SDK can utilize the outbound video URL as a parameter
SDK processes the outbound video URL and initiates a call to the agent.
SDK can utilize the scheduled video URL as a parameter
The SDK processes the scheduled video URL and directs the visitor to the ‘waiting room’ until the scheduled start time when the agent will join.
The VeVisitorVideoCall function of the SDK can be utilized to make custom implementations for escalation or schedule scenarios. If users receive a special VeVisitorVideoCall URL, it can be directed towards the associated agent with VeVisitorVideoCall(Url:String) and the SDK will call the associated Agent.
Example:
val veVisitorUrl="https://videome.leadsecure.com/ve/aBcDef" val video = VideoEngager(this,sett, VideoEngager.Engine.generic) if(video.Connect(VideoEngager.CallType.video)) { video.onEventListener = listener video.VeVisitorVideoCall(veVisitorUrl) }else Toast.makeText(this, "Error from connection", Toast.LENGTH_SHORT).show()
|
SDK ver 1.14.0
SDK can request Genesys Cloud schedule meetings (schedule callback)
We provide several methods by which to request scheduled meetings with the Genesys Cloud Agent. The implementation can be seen in GC_Activity.kt class in ClickListener of the buttonschedule element.
Examples:
Create scheduled meeting at specific date/time
val meetingDateTime = Calendar.getInstance() meetingDateTime.set(2022, 7, 15, 7, 0) //Meeting request at 15.07.2022 07:00 val video = VideoEngager(this, sett, VideoEngager.Engine.genesys) video.onEventListener = listener val scheduleCallbackAnswer = object : Answer() { override fun onSuccessResult(result: Result) { // this section displays information about meeting // please look at ScheduleResultActivity.kt for examples of how to proceed with the meeting result } } video.VeVisitorCreateScheduleMeeting(meetingDateTime.time,true, scheduleCallbackAnswer)
|
Create scheduled meeting as soon as possible
val video = VideoEngager(this, sett, VideoEngager.Engine.genesys) video.onEventListener = listener val scheduleCallbackAnswer = object : Answer() { override fun onSuccessResult(result: Result) { // this section displays information about meeting // please look at ScheduleResultActivity.kt for examples how to proceed with meeting result } } video.VeVisitorCreateScheduleMeeting(null, true, scheduleCallbackAnswer)
|
Read scheduled meeting info:
To verify the status of the meeting, the meeting information must be read.This operation requires utilization of the callId from the requested Result:
val callId = "abcfef-asdv-122sasdsd-fasfd" val video = VideoEngager(this@GC_Activity, sett, VideoEngager.Engine.genesys) video.onEventListener = listener val scheduleCallbackAnswer = object : Answer() { override fun onSuccessResult(result: Result) { // this section displays information about meeting // please look at ScheduleResultActivity.kt for examples how to proceed with meeting result } } video.VeVisitorGetScheduleMeeting(callId, scheduleCallbackAnswer)
|
Delete the scheduled meeting info: This operation requires the callId from the requested Result.
val callId = "abcfef-asdv-122sasdsd-fasfd" val video = VideoEngager(this@GC_Activity, sett, VideoEngager.Engine.genesys) video.onEventListener = listener val scheduleCallbackAnswer = object : Answer() { override fun onSuccessResult(result: Result) { // on successful deletion this will be handled with a Result with null values } } video.VeVisitorGetScheduleMeeting(callId, scheduleCallbackAnswer)
|
Comments
0 comments
Please sign in to leave a comment.