ReferenceToastParamsToastParams():getBackgroundColor()✦Use with AI▾本页总览ToastParams():getBackgroundColor() 读取提示的背景颜色。 签名 getBackgroundColor(): string 返回值 string - 正在使用的十六进制颜色,设置时包含 alpha 通道。 描述 该值是通过 setBackgroundColor() 设置的颜色;未设置时为应用的默认提示背景。