Click or drag to resize

Call Class

A Call represents a media call on Cisco Spark. The application can create an outgoing call by calling phone.dial function.
Inheritance Hierarchy
SystemObject
  SparkSDKCall

Namespace:  SparkSDK
Assembly:  SparkSDK (in SparkSDK.dll) Version: 0.1.0.0 (0.1.0.0)
Syntax
C#
public sealed class Call

The Call type exposes the following members.

Properties
  NameDescription
Public propertyDirection
Gets the direction of this call.
Public propertyFrom
Gets the initiator of this call.
Public propertyIsReceivingAudio
Gets or sets a value indicating whether [the local party of this call is receiving audio].
Public propertyIsReceivingShare
Gets or sets a value indicating whether [the local party of this call is receiving share].
Public propertyIsReceivingVideo
Gets or sets a value indicating whether [the local party of this call is receiving video].
Public propertyIsRemoteSendingAudio
Gets a value indicating whether [remote party of this call is sending audio].
Public propertyIsRemoteSendingShare
True if the remote party of this call is sending share. Otherwise, false.
Public propertyIsRemoteSendingVideo
Gets a value indicating whether [remote party of this call is sending video].
Public propertyIsSendingAudio
Gets or sets a value indicating whether [the local party of this call is sending audio].
Public propertyIsSendingDTMFEnabled
Gets a value indicating whether [sending DTMF enabled].
Public propertyIsSendingShare
True if the local party of this call is sending share. Otherwise, false.
Public propertyIsSendingVideo
Gets or sets a value indicating whether [the local party of this call is sending video].
Public propertyLocalVideoViewSize
The local video render view dimensions (points) of this call.
Public propertyMemberships
Gets the memberships represent participants in this call.
Public propertyRemoteShareViewSize
The remote share render view dimensions (points) of this call.
Public propertyRemoteVideoViewSize
The remote video render view dimensions (points) of this call.
Public propertyStatus
Gets the status of this call.
Public propertyTo
Get the intended recipient of this call when one on one call.
Top
Methods
  NameDescription
Public methodAcknowledge
Acknowledge (without answering) an incoming call. Will cause the initiator's Call instance to emit the ringing event.
Public methodAnswer
Answers this call. This can only be invoked when this call is incoming.
Public methodFetchShareSources
Fetch enumerated sources with a kind of source type
Public methodHangup
Disconnects this call. This can only be invoked when this call is in answered status.
Public methodReject
Rejects this call. This can only be invoked when this call is incoming and in ringing status.
Public methodSendDtmf
Sends DTMF events to the remote party. Valid DTMF events are 0-9, *, #, a-d, and A-D.
Public methodSendFeedbackWith
Sends feedback for this call to Cisco Spark team.
Public methodSetLoalShareView
Set local share view to display.
Public methodSetLocalView
Set local view to display.
Public methodSetRemoteShareView
Set remote share view to display.
Public methodSetRemoteView
Set remote video to display
Public methodStartShare
Start share .
Public methodStopShare
Stop share .
Public methodUpdateLoalShareView
Update local share view to display when video window is resized.
Public methodUpdateLocalView
Update local view to display when video window is resized.
Public methodUpdateRemoteShareView
Update remote share view to display when video window is resized.
Public methodUpdateRemoteView
Update remote video to display when video window is resized.
Top
Events
  NameDescription
Public eventOnCallMembershipChanged
Callback when the memberships of this call have changed.
Public eventOnCapabilitiesChanged
Callback when the capabilities of this call have changed.
Public eventOnConnected
Callback when remote participant(s) answered and this call is connected.
Public eventOnDisconnected
Callback when this call is disconnected (hangup, cancelled, get declined or other self device pickup the call).
Public eventOnMediaChanged
Callback when the media types of this call have changed.
Public eventOnRinging
Callback when remote participant(s) is ringing.
Top
Remarks
Since: 0.1.0
See Also