end

abstract fun end(endReason: EndCallReason = EndedLocally)

Terminate the call from the local end.

Parameters

endReason

Optional reason for the call being terminated. The default is EndedLocally which means the user hung up the call normally. You can set this to a different value if the call needed to be terminated locally due to some other reason.