SipAudioCall.HoldCall(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Puts a call on hold.
[Android.Runtime.Register("holdCall", "(I)V", "GetHoldCall_IHandler")]
public virtual void HoldCall (int timeout);
[<Android.Runtime.Register("holdCall", "(I)V", "GetHoldCall_IHandler")>]
abstract member HoldCall : int -> unit
override this.HoldCall : int -> unit
Parameters
- timeout
- Int32
the timeout value in seconds. Default value (defined by
SIP protocol) is used if timeout
is zero or negative.
- Attributes
Exceptions
if the SIP service fails to hold the call
Remarks
Puts a call on hold. When succeeds, Listener#onCallHeld
is called. The attempt will be timed out if the call is not established within timeout
seconds and Listener#onError onError(SipAudioCall, SipErrorCode.TIME_OUT, String)
will be called.
Java documentation for android.net.sip.SipAudioCall.holdCall(int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.