setInputPolicy
Updates the input policy dynamically.
Implementations must apply the policy before returning. A session serializes this call with encoding; an unsupported update must fail before changing state.
Parameters
policy
new input policy.