Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Synchronously creates a new ProtectedFileOutputStream.
Signature
public static ProtectedFileOutputStream create(
final OutputStream outputStream,
UserPolicy policy,
String originalFileExtension,
Context applicationContext)
throws ProtectionException
Parameters
| Name | Datatype | Notes |
|---|---|---|
| outputStream |
OutputStream |
The OutputStream that will be converted into a ProtectedFileOutputStream |
| policy |
UserPolicy |
The policy needed to create the ProtectedFileOutputStream, If this parameter is null, a regular output stream is created. |
| originalFileExtension |
String |
|
| applicationContext |
Context |
Returns
Throws
Defined in
ProtectedFileOutputStream.java
Supported Platforms
| Minimum supported OS version |
Android 4.0.3 (API level 15) |