语言

ServiceWorkerWebSettings.AllowFileAccess 属性

定义

获取服务辅助角色是否支持文件访问。

public abstract bool AllowFileAccess { [Android.Runtime.Register("getAllowFileAccess", "()Z", "GetGetAllowFileAccessHandler", ApiSince=24)] get; [Android.Runtime.Register("setAllowFileAccess", "(Z)V", "GetSetAllowFileAccess_ZHandler", ApiSince=24)] set; }
[<get: Android.Runtime.Register("getAllowFileAccess", "()Z", "GetGetAllowFileAccessHandler", ApiSince=24)>]
[<set: Android.Runtime.Register("setAllowFileAccess", "(Z)V", "GetSetAllowFileAccess_ZHandler", ApiSince=24)>]
member this.AllowFileAccess : bool with get, set

属性值

如果服务辅助角色可以访问文件,则为 True;否则为 false。

特性

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于