Share via


CallAttributes 類別

定義

CallAttributes 代表一組定義新呼叫的屬性。

[Android.Runtime.Register("android/telecom/CallAttributes", ApiSince=34, DoNotGenerateAcw=true)]
public sealed class CallAttributes : Java.Lang.Object, Android.OS.IParcelable, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("android/telecom/CallAttributes", ApiSince=34, DoNotGenerateAcw=true)>]
type CallAttributes = class
    inherit Object
    interface IParcelable
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
繼承
CallAttributes
屬性
實作

備註

CallAttributes 代表一組定義新呼叫的屬性。 應用程式應該建置此類別的實例,並使用 TelecomManager#addCall 來啟動與 Telecom 的新通話。

應用程式應該先透過 TelecomManager#registerPhoneAccount 註冊 , PhoneAccount 並在建立 CallAttributes 實例時,使用 PhoneAccountHandle 與 Telecom 註冊相同的 。

android.telecom.CallAttributes JAVA 檔。

此頁面的部分是根據所建立和共用的工作進行修改,並根據 2.5 屬性授權中所述的詞彙來使用。

欄位

AudioCall
已淘汰.

用於接聽或撥號來表示通話沒有視訊元件

DirectionIncoming
已淘汰.

表示呼叫是來電。

DirectionOutgoing
已淘汰.

表示呼叫是撥出電話。

SupportsSetInactive
已淘汰.

所建立的呼叫可以設定為非作用中 (傳統上稱為保留) 。

SupportsStream
已淘汰.

呼叫可以從根裝置串流至另一個裝置,以繼續呼叫,而不需完全轉移。

SupportsTransfer
已淘汰.

呼叫可以完全從一個端點傳輸到另一個端點。

VideoCall
已淘汰.

表示支援視訊傳輸

屬性

Address

CallAttributes 代表一組定義新呼叫的屬性。

CallCapabilities

CallAttributes 代表一組定義新呼叫的屬性。

CallType

CallAttributes 代表一組定義新呼叫的屬性。

Class

傳回這個 Object 的執行時間類別。

(繼承來源 Object)
Creator

CallAttributes 代表一組定義新呼叫的屬性。

Direction

CallAttributes 代表一組定義新呼叫的屬性。

DisplayName

CallAttributes 代表一組定義新呼叫的屬性。

DisplayNameFormatted

CallAttributes 代表一組定義新呼叫的屬性。

Handle

基礎 Android 實例的控制碼。

(繼承來源 Object)
JniIdentityHashCode

CallAttributes 代表一組定義新呼叫的屬性。

(繼承來源 Object)
JniPeerMembers

CallAttributes 代表一組定義新呼叫的屬性。

PeerReference

CallAttributes 代表一組定義新呼叫的屬性。

(繼承來源 Object)
PhoneAccountHandle

PhoneAccountHandle應該註冊到 Telecom 以允許通話的 。

ThresholdClass

此 API 支援適用于 Android 的 Mono 基礎結構,並不適合直接從您的程式碼使用。

(繼承來源 Object)
ThresholdType

此 API 支援適用于 Android 的 Mono 基礎結構,並不適合直接從您的程式碼使用。

(繼承來源 Object)

方法

Clone()

建立並傳回這個 物件的複本。

(繼承來源 Object)
DescribeContents()

CallAttributes 代表一組定義新呼叫的屬性。

Dispose()

CallAttributes 代表一組定義新呼叫的屬性。

(繼承來源 Object)
Dispose(Boolean)

CallAttributes 代表一組定義新呼叫的屬性。

(繼承來源 Object)
Equals(Object)

指出其他物件是否「等於」這個物件。

(繼承來源 Object)
GetHashCode()

傳回此物件的雜湊碼值。

(繼承來源 Object)
JavaFinalize()

當垃圾收集判斷物件不再參考物件時,垃圾收集行程會在物件上呼叫。

(繼承來源 Object)
Notify()

喚醒正在等候此物件監視器的單一線程。

(繼承來源 Object)
NotifyAll()

喚醒正在等候此物件監視器的所有線程。

(繼承來源 Object)
SetHandle(IntPtr, JniHandleOwnership)

設定 Handle 屬性。

(繼承來源 Object)
ToArray<T>()

CallAttributes 代表一組定義新呼叫的屬性。

(繼承來源 Object)
ToString()

傳回物件的字串表示。

(繼承來源 Object)
UnregisterFromRuntime()

CallAttributes 代表一組定義新呼叫的屬性。

(繼承來源 Object)
Wait()

讓目前的執行緒等到喚醒為止,通常是 em < notified/em > 或 < em > interrupted < /em > 。 ><

(繼承來源 Object)
Wait(Int64)

讓目前的執行緒等到喚醒為止,通常是 em < notified/em > 或 < em > interrupted < /em > ,或直到經過一定數量的即時為止。 <>

(繼承來源 Object)
Wait(Int64, Int32)

讓目前的執行緒等到喚醒為止,通常是 em < notified/em > 或 < em > interrupted < /em > ,或直到經過一定數量的即時為止。 <>

(繼承來源 Object)
WriteToParcel(Parcel, ParcelableWriteFlags)

CallAttributes 代表一組定義新呼叫的屬性。

明確介面實作

IJavaPeerable.Disposed()

CallAttributes 代表一組定義新呼叫的屬性。

(繼承來源 Object)
IJavaPeerable.DisposeUnlessReferenced()

CallAttributes 代表一組定義新呼叫的屬性。

(繼承來源 Object)
IJavaPeerable.Finalized()

CallAttributes 代表一組定義新呼叫的屬性。

(繼承來源 Object)
IJavaPeerable.JniManagedPeerState

CallAttributes 代表一組定義新呼叫的屬性。

(繼承來源 Object)
IJavaPeerable.SetJniIdentityHashCode(Int32)

CallAttributes 代表一組定義新呼叫的屬性。

(繼承來源 Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates)

CallAttributes 代表一組定義新呼叫的屬性。

(繼承來源 Object)
IJavaPeerable.SetPeerReference(JniObjectReference)

CallAttributes 代表一組定義新呼叫的屬性。

(繼承來源 Object)

擴充方法

JavaCast<TResult>(IJavaObject)

執行 Android 執行時間檢查的類型轉換。

JavaCast<TResult>(IJavaObject)

CallAttributes 代表一組定義新呼叫的屬性。

GetJniTypeName(IJavaPeerable)

CallAttributes 代表一組定義新呼叫的屬性。

適用於