setTypefaceOverride

open fun setTypefaceOverride(@Nullable normalTypeface: Typeface, @Nullable boldTypeface: Typeface)

Override the Typeface (aka font) used by Batch's messaging views. You'll need to provide both the normal and bold typefaces. If you only provide one, the result might be inconsistent.

In order to revert to the system font, set the typefaces to null.

Parameters

normalTypeface

Typeface for normal text.

boldTypeface

Typeface for bold text.