Video calls resource
Generated reference for ovok_sdk: video calls resource.
- Stable unknown
- Release candidate since 0.1.0-rc.4
- Development since 0.1.0-dev.23+d339d81
VideoCallAccessResource
class VideoCallAccessResourceAccess to a video call. Reached through ovok.videoCalls.access.
Constructors
VideoCallAccessResource.new
VideoCallAccessResource(HttpClient _livekit)Built by Ovok; use ovok.videoCalls.access instead.
| Parameter | Type | Kind | Default |
|---|---|---|---|
_livekit | HttpClient | positional |
Methods
VideoCallAccessResource.permission
Future<JsonMap> permission(String appointmentId)Retrieves the caller's permission for the call.
Calls GET video-call/livekit/access-permission/{appointmentId}.
| Parameter | Type | Kind | Default |
|---|---|---|---|
appointmentId | String | positional |
Returns Future<Map<String, dynamic>>.
VideoCallAccessResource.createGuest
Future<JsonMap> createGuest(String appointmentId, JsonMap body)Creates guest access to the call.
Calls POST video-call/livekit/guest-access/{appointmentId}.
| Parameter | Type | Kind | Default |
|---|---|---|---|
appointmentId | String | positional | |
body | JsonMap | positional |
Returns Future<Map<String, dynamic>>.
VideoCallAccessResource.createUser
Future<JsonMap> createUser(String appointmentId)Creates access to the call for the signed-in user.
Calls POST video-call/livekit/user-access/{appointmentId}.
| Parameter | Type | Kind | Default |
|---|---|---|---|
appointmentId | String | positional |
Returns Future<Map<String, dynamic>>.
VideoCallAppointmentsResource
class VideoCallAppointmentsResourceVideo call appointments. Reached through ovok.videoCalls.appointments.
Constructors
VideoCallAppointmentsResource.new
VideoCallAppointmentsResource(HttpClient _livekit)Built by Ovok; use ovok.videoCalls.appointments instead.
| Parameter | Type | Kind | Default |
|---|---|---|---|
_livekit | HttpClient | positional |
Methods
VideoCallAppointmentsResource.list
Future<List<JsonMap>> list([QueryParams params = const {}])Lists appointments. Calls GET video-call/livekit/appointment with params.
| Parameter | Type | Kind | Default |
|---|---|---|---|
params | QueryParams | optional positional | const {} |
Returns Future<List<Map<String, dynamic>>>.
VideoCallAppointmentsResource.create
Future<JsonMap> create(JsonMap body)Creates an appointment. Calls POST video-call/livekit/appointment.
| Parameter | Type | Kind | Default |
|---|---|---|---|
body | JsonMap | positional |
Returns Future<Map<String, dynamic>>.
VideoCallAppointmentsResource.update
Future<JsonMap> update(String appointmentId, JsonMap body)Updates an appointment.
Calls PUT video-call/livekit/appointment/{appointmentId}.
| Parameter | Type | Kind | Default |
|---|---|---|---|
appointmentId | String | positional | |
body | JsonMap | positional |
Returns Future<Map<String, dynamic>>.
VideoCallEmailsResource
class VideoCallEmailsResourceVideo call emails. Reached through ovok.videoCalls.emails.
Constructors
VideoCallEmailsResource.new
VideoCallEmailsResource(HttpClient _livekit)Built by Ovok; use ovok.videoCalls.emails instead.
| Parameter | Type | Kind | Default |
|---|---|---|---|
_livekit | HttpClient | positional |
Methods
VideoCallEmailsResource.invite
Future<JsonMap> invite(JsonMap body)Sends a call invite email. Calls POST video-call/livekit/mail/invite.
| Parameter | Type | Kind | Default |
|---|---|---|---|
body | JsonMap | positional |
Returns Future<Map<String, dynamic>>.
VideoCallEmailsResource.update
Future<JsonMap> update(JsonMap body)Sends a call update email. Calls POST video-call/livekit/mail/update.
| Parameter | Type | Kind | Default |
|---|---|---|---|
body | JsonMap | positional |
Returns Future<Map<String, dynamic>>.
VideoCallEmailsResource.cancel
Future<JsonMap> cancel(JsonMap body)Sends a call cancellation email. Calls POST video-call/livekit/mail/cancel.
| Parameter | Type | Kind | Default |
|---|---|---|---|
body | JsonMap | positional |
Returns Future<Map<String, dynamic>>.
VideoCallsResource
class VideoCallsResourceLiveKit video calls and their appointments. Reached through ovok.videoCalls.
Every route is under video-call/livekit.
Every request throws an OvokException subclass when it fails.
Constructors
VideoCallsResource.new
VideoCallsResource(HttpClient http)Built by Ovok; use ovok.videoCalls instead.
| Parameter | Type | Kind | Default |
|---|---|---|---|
http | HttpClient | positional |
Properties
VideoCallsResource.appointments
final VideoCallAppointmentsResource appointmentsVideo call appointments.
VideoCallsResource.access
final VideoCallAccessResource accessAccess to a call for users and guests.
VideoCallsResource.emails
final VideoCallEmailsResource emailsCall invite, update and cancel emails.
Methods
VideoCallsResource.notifyActive
Future<JsonMap> notifyActive(String appointmentId)Notifies that the call for appointmentId is active.
Calls POST video-call/livekit/notification/active-call/{appointmentId}.
| Parameter | Type | Kind | Default |
|---|---|---|---|
appointmentId | String | positional |
Returns Future<Map<String, dynamic>>.
Last updated on