Connection.CreateCanceledConnection 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.
Return a Connection
which represents a canceled connection attempt.
[Android.Runtime.Register("createCanceledConnection", "()Landroid/telecom/Connection;", "", ApiSince=23)]
public static Android.Telecom.Connection? CreateCanceledConnection ();
[<Android.Runtime.Register("createCanceledConnection", "()Landroid/telecom/Connection;", "", ApiSince=23)>]
static member CreateCanceledConnection : unit -> Android.Telecom.Connection
Returns
A Connection
which indicates that the underlying connection should
be canceled.
- Attributes
Remarks
Return a Connection
which represents a canceled connection attempt. The returned Connection
will have state #STATE_DISCONNECTED
, and cannot be moved out of that state. This connection should not be used for anything, and no other Connection
s should be attempted.
so users of this method need not maintain a reference to its return value to destroy it.
Java documentation for android.telecom.Connection.createCanceledConnection()
.
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.