mirror of
https://github.com/readest/readest.git
synced 2026-05-05 07:09:20 +00:00
This commit is contained in:
parent
f696b9a573
commit
ada427b134
54 changed files with 588 additions and 57 deletions
|
|
@ -107,6 +107,17 @@ impl<R: Runtime> NativeBridge<R> {
|
|||
Err(crate::Error::UnsupportedPlatformError)
|
||||
}
|
||||
|
||||
pub fn get_screen_brightness(&self) -> crate::Result<GetScreenBrightnessResponse> {
|
||||
Err(crate::Error::UnsupportedPlatformError)
|
||||
}
|
||||
|
||||
pub fn set_screen_brightness(
|
||||
&self,
|
||||
_payload: SetScreenBrightnessRequest,
|
||||
) -> crate::Result<SetScreenBrightnessResponse> {
|
||||
Err(crate::Error::UnsupportedPlatformError)
|
||||
}
|
||||
|
||||
pub fn request_manage_storage_permission(
|
||||
&self,
|
||||
) -> crate::Result<RequestManageStoragePermissionResponse> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue