Skip to content

brianmtully/infinea_sdk_flutter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Infinea SDK Plugin

(https://pub.dev/packages/infinea_sdk_flutter)

Flutter Plugin for Infinite Peripherals Infinea SDK. This plugin allows you to connect and use devices compatible with Infinea SDK.

Usage

To use this plugin, add infinea_sdk_flutter as a dependency in your pubspec.yaml file. You will need a developer key and application id setup in the Infinite Peripherals Developer Portal

Using Infinea SDK

Example Usage

final InfineaSdkFlutter infinea = InfineaSdkFlutter();
      await infinea.setDeveloperKey(key: 'enteryourdeveloperkeyhere');
      await infinea.connect();  
    Function cancelListener = infinea.startListening((event) {
      if (event['event'] == 'barcode') {
        print(event['data']);
      }
    });
    
    await infinea.disconnect();)
    cancelListener();

About

Infinea SDK Flutter Plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published