tizen_api 1.0.11 copy "tizen_api: ^1.0.11" to clipboard
tizen_api: ^1.0.11 copied to clipboard

Control your Samsung Tizen TV, written in pure dart native. Trying the example project is highly encouraged :)

tizen #

TV Remote for all mobile devices

How to use #

  1. You can search devices like this

Future<void> searchDevices() async {
  final String? ip = await NetworkInfo().getWifiIP();
  if (ip == null) {
    return;
  }

  TizenHelperMethods.scanNetwork(ip).listen((tv) {
    print('Found TV $tv');
  });
}
  1. Set the selected TV
TizenHelperMethods.selectedTv = tvVar;
  1. Control the TV using
TizenHelperMethods.selectedTv!.addToSocket(KeyCodes.KEY_VOLDOWN);
TizenHelperMethods.selectedTv!.addToSocket(KeyCodes.KEY_VOLUP);
TizenHelperMethods.selectedTv!.addToSocket(KeyCodes.KEY_POWER);

Test the example app #

The example is TV remote app and is very fun to test.

You should to try it up with your TV.

Thanks #

Thanks @shaharhn for developing the base of this package

3
likes
150
points
37
downloads

Publisher

unverified uploader

Weekly Downloads

Control your Samsung Tizen TV, written in pure dart native. Trying the example project is highly encouraged :)

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

dio, universal_io, web_socket_channel

More

Packages that depend on tizen_api