語言

PackageInstaller.InstallConstraints.Builder.SetDeviceIdleRequired 方法

定義

此限制要求裝置處於閒置狀態。

[Android.Runtime.Register("setDeviceIdleRequired", "()Landroid/content/pm/PackageInstaller$InstallConstraints$Builder;", "", ApiSince=34)]
public Android.Content.PM.PackageInstaller.InstallConstraints.Builder SetDeviceIdleRequired();
[<Android.Runtime.Register("setDeviceIdleRequired", "()Landroid/content/pm/PackageInstaller$InstallConstraints$Builder;", "", ApiSince=34)>]
member this.SetDeviceIdleRequired : unit -> Android.Content.PM.PackageInstaller.InstallConstraints.Builder

傳回

屬性

備註

此限制要求裝置處於閒置狀態。

Android 參考資料。android.content.pm.PackageInstaller.InstallConstraints.Builder.setDeviceIdleRequired

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於