setRewriterRules

open fun setRewriterRules(@Nullable accountId: String, @NonNull rules: Xml): Boolean

Set rewriter rules.

If feature Multiple Accounts is not provided, only the main rewriter is available.

Return

true if successfully set or false otherwise.

Parameters

accountId

Account ID; null for main rewriter and if feature Multiple Accounts is not provided.

rules

The rewriter rules to set.