Module @systemic-games/react-native-pixels-connect

React Native Pixels Connect

This is the Pixels package for React Native. It enables communications between Pixels dice and a React Native app using Bluetooth Low Energy. It has support for iOS and Android.

Find the latest published version on NPM.

Foreword

Pixels are full of LEDs, smarts and no larger than regular dice, they can be customized to light up when and how you desire. Check our website for more information.

Warning Before jumping into programming please make sure to read our Pixels developer's guide.

Please open a ticket on GitHub if you're having any issue.

Installation

npm install @systemic-games/react-native-pixels-connect

Usage

import { PixelScanner, Pixel } from "@systemic-games/react-native-pixels-connect";

// ...

React Hooks

See the @systemic-games/pixels-react package.

License

MIT


Made with create-react-native-library

Animation

Animation Instance

Color

Face Utils

Message

Other

ActionType ActionTypeValues AnimationCategory AnimationCategoryValues AnimationFlags AnimationFlagsValues AnimationType AnimationTypeValues BatteryStateFlags BatteryStateFlagsValues ConditionType ConditionTypeValues ConnectionStateFlags ConnectionStateFlagsValues FaceCompareFlags FaceCompareFlagsValues HelloGoodbyeFlags HelloGoodbyeFlagsValues NoiseColorOverrideType NoiseColorOverrideTypeValues NormalsColorOverrideType NormalsColorOverrideTypeValues Color32Utils ColorUtils GammaUtils Profiles Serializable BluetoothLEError BluetoothNotAuthorizedError BluetoothUnavailableError CentralNotInitializedError ConnectError CustomDesignAndColorNameChunk DieInfoChunk DieNameChunk PixelScanner ScanAlreadyInProgressError ScanError ScanStartFailed ScannedPixelNotifier SettingsInfoChunk StatusInfoChunk UnknownPeripheralError VersionInfoChunk VirtualDie AdvertisementData BleBluetoothStateEvent BleCharacteristicValueChangedEvent BleConnectionEvent BluetoothStateEvent CentralEventMap Characteristic Device ManufacturerData MessageChunk NativeBluetoothLE PeripheralCharacteristicValueChangedEvent PeripheralConnectionEvent PixelScannerEventMap PixelScannerOptions PixelScannerStatusEvent ScanResult ScannedPeripheral ScannedPixel ServiceData UsePixelValueNamesMap BleEvents BleScanResultEvent BluetoothState ConnectErrorType ConnectionEventReason ConnectionStatus PeripheralOrSystemId PixelScannerDispatchAction PixelScannerFilter PixelScannerListOperation PixelScannerStatus ScanEvent ScanStatus ScanStopReason ScannedPixelNotifierMutableProps BleScanner BluetoothLE Central Constants DiceUtils getFaceCount getFaceForLEDIndex getLEDCount getNativeErrorCode getPixel getPixelOrThrow getTopFace initBluetooth requestPermissions toFullUuid useBluetoothState usePixel usePixelConnect usePixelScannerNotify usePixelStatus usePixelValue useScannedPixelNotifiers useScannedPixels

PixelSession

Pixels

Profile

Profile Action

Profile Condition

Other

Re-exports ActionType
Re-exports ActionTypeValues
Re-exports AnimationCategory
Re-exports AnimationCategoryValues
Re-exports AnimationFlags
Re-exports AnimationFlagsValues
Re-exports AnimationType
Re-exports AnimationTypeValues
Renames and re-exports BatteryFlags
Renames and re-exports BatteryFlagsValues
Re-exports ConditionType
Re-exports ConditionTypeValues
Renames and re-exports ConnectionFlags
Renames and re-exports ConnectionFlagsValues
Re-exports FaceCompareFlags
Re-exports FaceCompareFlagsValues
Re-exports HelloGoodbyeFlags
Re-exports HelloGoodbyeFlagsValues
Re-exports NoiseColorOverrideType
Re-exports NoiseColorOverrideTypeValues
Re-exports NormalsColorOverrideType
Re-exports NormalsColorOverrideTypeValues

Generated using TypeDoc