共用方式為


ProtectedFileOutputStream.getUserPolicy method

Returns the protection policy associated with the stream.

Signature

public UserPolicy getUserPolicy()

Parameters

This method has no parameters.

Returns

A UserPolicy object that represents the policy.

Defined in

ProtectedFileOutputStream.java

Supported Platforms

Minimum supported OS version
Android 4.0.3 (API level 15)