Share via


FontsContract.FontRequestCallback.OnTypefaceRetrieved(Typeface) Method

Definition

Called then a Typeface request done via #requestFonts is complete.

[Android.Runtime.Register("onTypefaceRetrieved", "(Landroid/graphics/Typeface;)V", "GetOnTypefaceRetrieved_Landroid_graphics_Typeface_Handler", ApiSince=26)]
public virtual void OnTypefaceRetrieved (Android.Graphics.Typeface? typeface);
[<Android.Runtime.Register("onTypefaceRetrieved", "(Landroid/graphics/Typeface;)V", "GetOnTypefaceRetrieved_Landroid_graphics_Typeface_Handler", ApiSince=26)>]
abstract member OnTypefaceRetrieved : Android.Graphics.Typeface -> unit
override this.OnTypefaceRetrieved : Android.Graphics.Typeface -> unit

Parameters

typeface
Typeface

The Typeface object retrieved.

Attributes

Remarks

Called then a Typeface request done via #requestFonts is complete. Note that this method will not be called if #onTypefaceRequestFailed(int) is called instead.

Java documentation for android.provider.FontsContract.FontRequestCallback.onTypefaceRetrieved(android.graphics.Typeface).

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