FilePermission(String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a legacy permission object.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")]
public FilePermission(string? path, string? actions);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")>]
new Java.IO.FilePermission : string * string -> Java.IO.FilePermission
Parameters
- path
- String
The pathname. On Android 7.0 (API level 24) through Android 8.0 (API level 26), this value is ignored.
- actions
- String
An action string. This implementation ignores the value.
- Attributes
Remarks
On Android 7.0 (API level 24) through Android 8.0 (API level 26), this constructor passes an empty string to the base Permission constructor. On Android 8.1 (API level 27) and later, it passes path. The implementation ignores actions.
Java reference for java.io.FilePermission.FilePermission.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.