Share via


PolicySpi.EngineRefresh Method

Definition

Refreshes/reloads the policy configuration.

[Android.Runtime.Register("engineRefresh", "()V", "GetEngineRefreshHandler")]
protected virtual void EngineRefresh ();
[<Android.Runtime.Register("engineRefresh", "()V", "GetEngineRefreshHandler")>]
abstract member EngineRefresh : unit -> unit
override this.EngineRefresh : unit -> unit
Attributes

Remarks

Refreshes/reloads the policy configuration. The behavior of this method depends on the implementation. For example, calling refresh on a file-based policy will cause the file to be re-read.

The default implementation of this method does nothing. This method should be overridden if a refresh operation is supported by the policy implementation.

Java documentation for java.security.PolicySpi.engineRefresh().

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.

Applies to