0 purchases
wakelock tizen
wakelock_tizen #
The Tizen implementation of wakelock.
Usage #
This package is not an endorsed implementation of wakelock. Therefore, you have to include wakelock_tizen alongside wakelock as dependencies in your pubspec.yaml file.
dependencies:
wakelock: ^0.6.2
wakelock_tizen: ^1.0.2
copied to clipboard
Then you can import wakelock in your Dart code:
import 'package:wakelock/wakelock.dart';
copied to clipboard
For detailed usage, see https://pub.dev/packages/wakelock#usage.
Required privileges #
To use the wakelock plugin in a Tizen application, the display privilege must be added in your tizen-manifest.xml file. If you don't know where to place the privilege, see the example/tizen/tizen-manifest.xml file.
<privileges>
<privilege>http://tizen.org/privilege/display</privilege>
</privileges>
copied to clipboard
Supported devices #
Galaxy Watch series (running Tizen 4.0 or later)
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.