net9.0-android21.0
namespace Android.Telephony
{
[ObsoletedOSPlatform("android31.0", "This class is obsoleted in this android platform")]
[Register("android/telephony/PhoneStateListener", DoNotGenerateAcw = true)]
public class PhoneStateListener : Object
{
[ObsoletedOSPlatform("android31.0")]
[Register("onCallDisconnectCauseChanged", "(II)V", "GetOnCallDisconnectCauseChanged_IIHandler", ApiSince = 30)]
[RequiresPermission("android.permission.READ_PRECISE_PHONE_STATE")]
[SupportedOSPlatform("android30.0")]
public virtual void OnCallDisconnectCauseChanged([IntDef(Fields = new[] { "NotValid", "NotDisconnected", "IncomingMissed", "Normal", "Local", "Busy", "Congestion", "Mmi", "InvalidNumber", "NumberUnreachable", "ServerUnreachable", "InvalidCredentials", "OutOfNetwork", "ServerError", "TimedOut", "LostSignal", "LimitExceeded", "IncomingRejected", "PowerOff", "OutOfService", "IccError", "CallBarred", "FdnBlocked", "CsRestricted", "CsRestrictedNormal", "CsRestrictedEmergency", "UnobtainableNumber", "CdmaLockedUntilPowerCycle", "CdmaDrop", "CdmaIntercept", "CdmaReorder", "CdmaSoReject", "CdmaRetryOrder", "CdmaAccessFailure", "CdmaPreempted", "CdmaNotEmergency", "CdmaAccessBlocked", "ErrorUnspecified" }, Type = "Android.Telephony.DisconnectCause")] int disconnectCause, int preciseDisconnectCause);
}
}
Assembly | Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
---|---|
.NET | 6.07.08.09.0 |
Platform Specific Frameworks | |
net9.0-android | 21.022.023.024.025.026.027.028.029.030.031.032.033.034.0 |
Platform Restrictions | For the selected framework this API is only supported on the following OS platforms:
|