語言

DevicePolicyManager.DelegationSecurityLogging 欄位

定義

可存取 #setSecurityLoggingEnabled#isSecurityLoggingEnabled#retrieveSecurityLogs#retrievePreRebootSecurityLogs

[Android.Runtime.Register("DELEGATION_SECURITY_LOGGING", ApiSince=31)]
public const string DelegationSecurityLogging;
[<Android.Runtime.Register("DELEGATION_SECURITY_LOGGING", ApiSince=31)>]
val mutable DelegationSecurityLogging : string

欄位值

屬性

備註

可存取 #setSecurityLoggingEnabled#isSecurityLoggingEnabled#retrieveSecurityLogs#retrievePreRebootSecurityLogs。 一旦授權,委派的應用程式將開始接收DelegatedAdminReceiver#onSecurityLogsAvailable回撥,裝置擁有者或設定檔擁有者將不再收到回撥。DeviceAdminReceiver#onSecurityLogsAvailable 最多只有一個應用程式擁有這樣的委派。 如果其他應用程式已經被授權了安全日誌權限,當新應用程式被授權時,該應用程式將失去該授權。

只能由裝置擁有者或組織擁有的管理型態設定檔的設定檔擁有者授予。

Java 文件 android.app.admin.DevicePolicyManager.DELEGATION_SECURITY_LOGGING

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

適用於