共用方式為


CaptioningManager.CaptioningChangeListener.OnFontScaleChanged(Single) Method

Definition

Called when the captioning font scaling factor changes.

[Android.Runtime.Register("onFontScaleChanged", "(F)V", "GetOnFontScaleChanged_FHandler")]
public virtual void OnFontScaleChanged (float fontScale);
[<Android.Runtime.Register("onFontScaleChanged", "(F)V", "GetOnFontScaleChanged_FHandler")>]
abstract member OnFontScaleChanged : single -> unit
override this.OnFontScaleChanged : single -> unit

Parameters

fontScale
Single

the preferred font scaling factor

Attributes

Remarks

Called when the captioning font scaling factor changes.

Java documentation for android.view.accessibility.CaptioningManager.CaptioningChangeListener.onFontScaleChanged(float).

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