Sdílet prostřednictvím


DisconnectCause Constructors

Definition

Overloads

DisconnectCause(Causes)

Creates a new DisconnectCause.

DisconnectCause(Causes, String)

Creates a new DisconnectCause.

DisconnectCause(Causes, ICharSequence, ICharSequence, String)

Creates a new DisconnectCause.

DisconnectCause(Causes, String, String, String)
DisconnectCause(Causes, ICharSequence, ICharSequence, String, Tone)

Creates a new DisconnectCause.

DisconnectCause(Causes, String, String, String, Tone)

DisconnectCause(Causes)

Creates a new DisconnectCause.

[Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=23)]
public DisconnectCause (Android.Telecom.Causes code);
[<Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=23)>]
new Android.Telecom.DisconnectCause : Android.Telecom.Causes -> Android.Telecom.DisconnectCause

Parameters

code
Causes

The code for the disconnect cause.

Attributes

Remarks

Creates a new DisconnectCause.

Java documentation for android.telecom.DisconnectCause.DisconnectCause(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.

Applies to

DisconnectCause(Causes, String)

Creates a new DisconnectCause.

[Android.Runtime.Register(".ctor", "(ILjava/lang/String;)V", "", ApiSince=23)]
public DisconnectCause (Android.Telecom.Causes code, string? reason);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/String;)V", "", ApiSince=23)>]
new Android.Telecom.DisconnectCause : Android.Telecom.Causes * string -> Android.Telecom.DisconnectCause

Parameters

code
Causes

The code for the disconnect cause.

reason
String

The reason for the disconnect.

Attributes

Remarks

Creates a new DisconnectCause.

Java documentation for android.telecom.DisconnectCause.DisconnectCause(int, java.lang.String).

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.

Applies to

DisconnectCause(Causes, ICharSequence, ICharSequence, String)

Creates a new DisconnectCause.

[Android.Runtime.Register(".ctor", "(ILjava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/String;)V", "", ApiSince=23)]
public DisconnectCause (Android.Telecom.Causes code, Java.Lang.ICharSequence? label, Java.Lang.ICharSequence? description, string? reason);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/String;)V", "", ApiSince=23)>]
new Android.Telecom.DisconnectCause : Android.Telecom.Causes * Java.Lang.ICharSequence * Java.Lang.ICharSequence * string -> Android.Telecom.DisconnectCause

Parameters

code
Causes

The code for the disconnect cause.

label
ICharSequence

The localized label to show to the user to explain the disconnect.

description
ICharSequence

The localized description to show to the user to explain the disconnect.

reason
String

The reason for the disconnect.

Attributes

Remarks

Creates a new DisconnectCause.

Java documentation for android.telecom.DisconnectCause.DisconnectCause(int, java.lang.CharSequence, java.lang.CharSequence, java.lang.String).

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.

Applies to

DisconnectCause(Causes, String, String, String)

[Android.Runtime.Register(".ctor", "(ILjava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/String;)V", "", ApiSince=23)]
public DisconnectCause (Android.Telecom.Causes code, string? label, string? description, string? reason);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/String;)V", "", ApiSince=23)>]
new Android.Telecom.DisconnectCause : Android.Telecom.Causes * string * string * string -> Android.Telecom.DisconnectCause

Parameters

code
Causes
label
String
description
String
reason
String
Attributes

Remarks

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.

Applies to

DisconnectCause(Causes, ICharSequence, ICharSequence, String, Tone)

Creates a new DisconnectCause.

[Android.Runtime.Register(".ctor", "(ILjava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/String;I)V", "", ApiSince=23)]
public DisconnectCause (Android.Telecom.Causes code, Java.Lang.ICharSequence? label, Java.Lang.ICharSequence? description, string? reason, Android.Media.Tone toneToPlay);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/String;I)V", "", ApiSince=23)>]
new Android.Telecom.DisconnectCause : Android.Telecom.Causes * Java.Lang.ICharSequence * Java.Lang.ICharSequence * string * Android.Media.Tone -> Android.Telecom.DisconnectCause

Parameters

code
Causes

The code for the disconnect cause.

label
ICharSequence

The localized label to show to the user to explain the disconnect.

description
ICharSequence

The localized description to show to the user to explain the disconnect.

reason
String

The reason for the disconnect.

toneToPlay
Tone

The tone to play on disconnect, as defined in ToneGenerator.

Attributes

Remarks

Creates a new DisconnectCause.

Java documentation for android.telecom.DisconnectCause.DisconnectCause(int, java.lang.CharSequence, java.lang.CharSequence, java.lang.String, 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.

Applies to

DisconnectCause(Causes, String, String, String, Tone)

[Android.Runtime.Register(".ctor", "(ILjava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/String;I)V", "", ApiSince=23)]
public DisconnectCause (Android.Telecom.Causes code, string? label, string? description, string? reason, Android.Media.Tone toneToPlay);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/String;I)V", "", ApiSince=23)>]
new Android.Telecom.DisconnectCause : Android.Telecom.Causes * string * string * string * Android.Media.Tone -> Android.Telecom.DisconnectCause

Parameters

code
Causes
label
String
description
String
reason
String
toneToPlay
Tone
Attributes

Remarks

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.

Applies to