ProtectionBarFragment.setPolicy(IProtectionPolicy) method
[This documentation is preliminary and is subject to change.]
Sets the template for the protection bar. The template's name is used when displaying the bar.
Signature
public void setPolicy(IProtectionPolicy policy) throws ProtectionException
Parameters
| Name | Datatype | Description |
|---|---|---|
policy |
The policy, which contains the selected template. |
Returns
Nothing.
Throws
ProtectionException if the policy is not an instance of IProtectionPolicy.
Defined in
ProtectionBarFragment.java
See also
Send comments about this topic to Microsoft
Build date: 6/14/2013