MutableContextWrapper 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
的特殊版本 ContextWrapper ,可在一開始設定基底內容之後加以修改。
[Android.Runtime.Register("android/content/MutableContextWrapper", DoNotGenerateAcw=true)]
public class MutableContextWrapper : Android.Content.ContextWrapper
[<Android.Runtime.Register("android/content/MutableContextWrapper", DoNotGenerateAcw=true)>]
type MutableContextWrapper = class
inherit ContextWrapper
- 繼承
- 屬性
備註
的特殊版本 ContextWrapper ,可在一開始設定基底內容之後加以修改。
的 android.content.MutableContextWrapperJava 檔。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。
建構函式
| MutableContextWrapper(Context) | |
| MutableContextWrapper(IntPtr, JniHandleOwnership) |
建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。 |
欄位
| AccessibilityService |
使用 搭配 |
| AccountService |
使用 搭配 |
| ActivityService |
使用 來 |
| AlarmService |
使用 搭配 |
| AppOpsService |
使用搭配 |
| AppSearchService |
使用 搭配 |
| AppwidgetService |
使用 搭配 |
| AudioService |
使用 搭配 |
| BatteryService |
使用搭配 |
| BindAllowActivityStarts |
已淘汰.
|
| BindExternalServiceLong |
的運作方式與 |
| BindNotPerceptible |
已淘汰.
旗標: |
| BindSharedIsolatedProcess |
已淘汰.
旗標: |
| BiometricService |
使用 來 |
| BlobStoreService |
使用 搭配 |
| BluetoothService |
使用 搭配 |
| BugreportService |
擷取 Bugreport 的服務。 (繼承來源 Context) |
| CameraService |
使用 來 |
| CaptioningService |
使用 搭配 |
| CarrierConfigService |
使用 搭配 |
| ClipboardService |
使用搭配 |
| CompanionDeviceService |
使用搭配 |
| ConnectivityDiagnosticsService |
使用 搭配 |
| ConnectivityService |
使用搭配 |
| ConsumerIrService |
使用 搭配 |
| CredentialService |
使用搭配 |
| CrossProfileAppsService |
使用 搭配 |
| DeviceIdDefault |
默認裝置識別碼,這是主要(非虛擬)裝置的標識碼。 (繼承來源 Context) |
| DeviceIdInvalid |
無效的裝置識別碼。 (繼承來源 Context) |
| DeviceLockService |
使用 搭配 |
| DevicePolicyService |
使用 搭配 |
| DisplayHashService |
使用搭配 |
| DisplayService |
使用 來 |
| DomainVerificationService |
使用搭配 |
| DownloadService |
使用 搭配 |
| DropboxService |
使用搭配 |
| EuiccService |
使用搭配 |
| FileIntegrityService |
使用 搭配 |
| FingerprintService |
使用搭配 |
| GameService |
使用 搭配 |
| GrammaticalInflectionService |
使用 搭配 |
| HardwarePropertiesService |
使用搭配 |
| HealthconnectService |
使用 搭配 |
| InputMethodService |
使用搭配 |
| InputService |
使用 來 |
| IpsecService |
使用 搭配 |
| JobSchedulerService |
使用 搭配 |
| KeyguardService |
使用 搭配 |
| LauncherAppsService |
使用 搭配 |
| LayoutInflaterService |
使用 搭配 |
| LocaleService |
使用 搭配 |
| LocationService |
使用 搭配 |
| MediaCommunicationService |
使用搭配 |
| MediaMetricsService |
使用 來 |
| MediaProjectionService |
使用 搭配 |
| MediaRouterService |
使用 搭配 |
| MediaSessionService |
使用搭配 |
| MidiService |
使用 搭配 |
| NetworkStatsService |
使用搭配 |
| NfcService |
使用 搭配 |
| NotificationService |
使用 搭配 |
| NsdService |
使用搭配 |
| OverlayService |
使用 搭配 |
| PeopleService |
使用 來 |
| PerformanceHintService |
使用 搭配 |
| PowerService |
使用 搭配 |
| PrintService |
|
| ReceiverExported |
已淘汰.
旗標 |
| ReceiverNotExported |
已淘汰.
旗標: |
| ReceiverVisibleToInstantApps |
已淘汰.
旗標: |
| RestrictionsService |
使用 搭配 |
| RoleService |
使用搭配 |
| SearchService |
使用 搭配 |
| SensorService |
使用 搭配 |
| ShortcutService |
使用搭配 |
| StatusBarService |
使用 來 |
| StorageService |
使用搭配 |
| StorageStatsService |
使用搭配 |
| SystemHealthService |
使用 搭配 |
| TelecomService |
使用搭配 |
| TelephonyImsService |
使用 搭配 |
| TelephonyService |
使用 搭配 |
| TelephonySubscriptionService |
使用 搭配 |
| TextClassificationService |
使用 搭配 |
| TextServicesManagerService |
使用搭配 |
| TvInputService |
使用 來 |
| TvInteractiveAppService |
使用 搭配 |
| UiModeService |
使用 搭配 |
| UsageStatsService |
使用搭配 |
| UsbService |
使用 搭配 |
| UserService |
使用 搭配 |
| VibratorManagerService |
使用 搭配 |
| VibratorService |
使用 搭配 |
| VirtualDeviceService |
使用搭配 |
| VpnManagementService |
使用搭配 |
| WallpaperService |
使用 搭配 |
| WifiAwareService |
使用 搭配 |
| WifiP2pService |
使用 搭配 |
| WifiRttRangingService |
使用 搭配 |
| WifiService |
使用 搭配 |
| WindowService |
使用 搭配 |
屬性
| ApplicationContext |
傳回目前進程之單一全域 Application 對象的內容。 (繼承來源 ContextWrapper) |
| ApplicationInfo |
傳回此內容套件的完整應用程式資訊。 (繼承來源 ContextWrapper) |
| Assets |
傳回應用程式套件的 AssetManager 實例。 (繼承來源 ContextWrapper) |
| AttributionSource |
的特殊版本 |
| AttributionTag |
屬性可用於複雜的應用程式中,以邏輯方式分隔應用程式的部分。 (繼承來源 Context) |
| BaseContext | (繼承來源 ContextWrapper) |
| CacheDir |
傳回檔案系統上應用程式特定快取目錄的絕對路徑。 (繼承來源 ContextWrapper) |
| Class |
傳回這個 |
| ClassLoader |
傳回類別載入器,您可用來擷取此封裝中的類別。 (繼承來源 ContextWrapper) |
| CodeCacheDir |
傳回檔案系統上應用程式特定快取目錄的絕對路徑,該目錄是專為儲存快取的程式代碼所設計。 (繼承來源 ContextWrapper) |
| ContentResolver |
傳回應用程式套件的 ContentResolver 實例。 (繼承來源 ContextWrapper) |
| DataDir |
的特殊版本 |
| DeviceId |
取得此內容相關聯的裝置標識碼。 (繼承來源 Context) |
| Display |
取得與此內容相關聯的顯示。 (繼承來源 Context) |
| ExternalCacheDir |
傳回主要外部檔案系統上目錄的絕對路徑(也就是 ExternalStorageDirectory 應用程式可以放置其擁有之快取檔案的位置。 (繼承來源 ContextWrapper) |
| FilesDir |
傳回檔系統上用來儲存檔案 OpenFileOutput(String, FileCreationMode) 的目錄絕對路徑。 (繼承來源 ContextWrapper) |
| Handle |
基礎Android實例的句柄。 (繼承來源 Object) |
| IsDeviceProtectedStorage |
的特殊版本 |
| IsRestricted |
指出此內容是否受到限制。 (繼承來源 Context) |
| IsUiContext |
如果內容是可存取、 或 |
| JniIdentityHashCode |
的特殊版本 |
| JniPeerMembers |
的特殊版本 |
| MainExecutor |
|
| MainLooper |
傳回目前進程之主線程的迴圈器。 (繼承來源 ContextWrapper) |
| NoBackupFilesDir |
傳回檔案系統上目錄的絕對路徑,類似於 FilesDir。 (繼承來源 ContextWrapper) |
| ObbDir |
傳回此應用程式 OBB 檔案(如果有的話)可找到的主要外部記憶體目錄。 (繼承來源 ContextWrapper) |
| OpPackageName |
傳回應該用於 |
| PackageCodePath |
傳回此內容主要 Android 套件的完整路徑。 (繼承來源 ContextWrapper) |
| PackageManager |
傳回 PackageManager 實例以尋找全域套件資訊。 (繼承來源 ContextWrapper) |
| PackageName |
傳回此應用程式套件的名稱。 (繼承來源 ContextWrapper) |
| PackageResourcePath |
傳回此內容主要 Android 套件的完整路徑。 (繼承來源 ContextWrapper) |
| Params |
如果透過 建立此內容,則傳回此內容所建立 |
| PeerReference |
的特殊版本 |
| Resources |
傳回應用程式套件的 Resources 實例。 (繼承來源 ContextWrapper) |
| Theme |
傳回與此內容相關聯的 Theme 物件。 (繼承來源 ContextWrapper) |
| ThresholdClass |
此 API 支援適用於 Android 的 Mono 基礎結構,並不適合直接從您的程式代碼使用。 |
| ThresholdType |
此 API 支援適用於 Android 的 Mono 基礎結構,並不適合直接從您的程式代碼使用。 |
| Wallpaper | (繼承來源 ContextWrapper) |
| WallpaperDesiredMinimumHeight | (繼承來源 ContextWrapper) |
| WallpaperDesiredMinimumWidth | (繼承來源 ContextWrapper) |
方法
明確介面實作
| 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) |
的特殊版本 |