From 0f03f90fdaae781bb5ebc0fb87179410fc1cb0a4 Mon Sep 17 00:00:00 2001 From: shutao Date: Thu, 30 May 2024 18:33:37 +0800 Subject: [PATCH] =?UTF-8?q?utsandroid.md=20=E6=96=B0=E5=A2=9E=E9=83=A8?= =?UTF-8?q?=E5=88=86theme=E5=85=B3=E8=81=94api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/uts/utsandroid.md | 53 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 52 insertions(+), 1 deletion(-) diff --git a/docs/uts/utsandroid.md b/docs/uts/utsandroid.md index e86e7bf4..f885e15d 100644 --- a/docs/uts/utsandroid.md +++ b/docs/uts/utsandroid.md @@ -751,7 +751,58 @@ console.log(UTSAndroid.getTopPageActivity()) - + + + +### setAppTheme(theme) + + + + + + + + + +### onAppThemeChanged(callback) + + + + + + + + + +### offAppThemeChanged(callbackId) + + + + + + + + + +### onOsThemeChanged(callback) + + + + + + + + + +### offOsThemeChanged(callbackId) + + + + + + + + -- GitLab