Control.StatefulBuilder 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
包含 Control
狀態資訊的產生器類別。
[Android.Runtime.Register("android/service/controls/Control$StatefulBuilder", ApiSince=30, DoNotGenerateAcw=true)]
public sealed class Control.StatefulBuilder : Java.Lang.Object
[<Android.Runtime.Register("android/service/controls/Control$StatefulBuilder", ApiSince=30, DoNotGenerateAcw=true)>]
type Control.StatefulBuilder = class
inherit Object
- 繼承
- 屬性
備註
包含 Control
狀態資訊的產生器類別。
狀態資訊會透過 的 ControlTemplate
實例傳遞,並決定使用者如何與 Control
互動。 使用者互動會透過 方法呼叫 ControlsProviderService#performControlAction
與 的 ControlAction
實例傳送,以傳達任何潛在的新值。
必須用來提供 的 ControlsProviderService#createPublisherFor
控制項。
它提供下列非選擇性參數的預設值:ul > li 裝置類型: DeviceTypes#TYPE_UNKNOWN
<< li Title: ""
< li >> Subtitle: ><""
li Status: li > Control template: <>ControlTemplate#getNoTemplateObject
li Status Status#STATUS_UNKNOWN
< text: ""
< li > Auth Required: true
< /ul ><>
的 android.service.controls.Control.StatefulBuilder
JAVA 檔。
此頁面的部分是根據 原始碼專案所建立和共用的工作進行修改,並根據中所述的詞彙使用。
建構函式
Control.StatefulBuilder(Control) |
|
Control.StatefulBuilder(String, PendingIntent) |
包含 |
屬性
Class |
傳回這個 |
Handle |
基礎 Android 實例的控制碼。 (繼承來源 Object) |
JniIdentityHashCode |
包含 |
JniPeerMembers |
包含 |
PeerReference |
包含 |
ThresholdClass |
此 API 支援 Mono for Android 基礎結構,並不適合直接從您的程式碼使用。 (繼承來源 Object) |
ThresholdType |
此 API 支援 Mono for Android 基礎結構,並不適合直接從您的程式碼使用。 (繼承來源 Object) |
方法
Build() |
包含 |
Clone() |
建立並傳回這個 物件的複本。 (繼承來源 Object) |
Dispose() |
包含 |
Dispose(Boolean) |
包含 |
Equals(Object) |
指出其他物件是否「等於」這個物件。 (繼承來源 Object) |
GetHashCode() |
傳回此物件的雜湊碼值。 (繼承來源 Object) |
JavaFinalize() |
當垃圾收集判斷物件沒有其他參考時,由物件上的垃圾收集行程呼叫。 (繼承來源 Object) |
Notify() |
喚醒正在等候此物件的監視器的單一線程。 (繼承來源 Object) |
NotifyAll() |
喚醒正在等候此物件監視器的所有線程。 (繼承來源 Object) |
SetAppIntent(PendingIntent) |
包含 |
SetAuthRequired(Boolean) |
包含 |
SetControlId(String) |
包含 |
SetControlTemplate(ControlTemplate) |
包含 |
SetCustomColor(ColorStateList) |
包含 |
SetCustomIcon(Icon) |
包含 |
SetDeviceType(Int32) |
包含 |
SetHandle(IntPtr, JniHandleOwnership) |
設定 Handle 屬性。 (繼承來源 Object) |
SetStatus(Int32) |
包含 |
SetStatusText(ICharSequence) |
包含 |
SetStatusText(String) |
包含 |
SetStructure(ICharSequence) |
包含 |
SetStructure(String) |
包含 |
SetSubtitle(ICharSequence) |
包含 |
SetSubtitle(String) |
包含 |
SetTitle(ICharSequence) |
包含 |
SetTitle(String) |
包含 |
SetZone(ICharSequence) |
包含 |
SetZone(String) |
包含 |
ToArray<T>() |
包含 |
ToString() |
傳回物件的字串表示。 (繼承來源 Object) |
UnregisterFromRuntime() |
包含 |
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) |
明確介面實作
IJavaPeerable.Disposed() |
包含 |
IJavaPeerable.DisposeUnlessReferenced() |
包含 |
IJavaPeerable.Finalized() |
包含 |
IJavaPeerable.JniManagedPeerState |
包含 |
IJavaPeerable.SetJniIdentityHashCode(Int32) |
包含 |
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) |
包含 |
IJavaPeerable.SetPeerReference(JniObjectReference) |
包含 |
擴充方法
JavaCast<TResult>(IJavaObject) |
執行 Android 執行時間檢查的類型轉換。 |
JavaCast<TResult>(IJavaObject) |
包含 |
GetJniTypeName(IJavaPeerable) |
包含 |