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.

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.

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

// ...

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

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 ChargerMessages Color32Utils ColorUtils GammaUtils Profiles Serializable BluetoothLEError BluetoothNotAuthorizedError BluetoothUnavailableError CentralNotInitializedError ConnectError PixelScanner ScanAlreadyInProgressError ScanError ScannedBootloaderNotifier ScannedChargerNotifier ScannedPixelNotifier ScanStartError UnknownPeripheralError VirtualDie NativeBluetoothLE PixelScannerOptions ScannedBootloader UsePixelValueNamesMap AdvertisementData BleBluetoothStateEvent BleCharacteristicValueChangedEvent BleConnectionEvent BleEvents BleScanResultEvent BluetoothState CentralEventMap Characteristic ConnectErrorType ConnectionEventReason ConnectionStatus Device ManufacturerData PeripheralCharacteristicValueChangedEvent PeripheralOrSystemId PixelScannerDispatchAction PixelScannerEventMap PixelScannerFilter PixelScannerListOperation PixelScannerStatus PixelStatusEvent ScannedBootloaderNotifierMutableProps ScannedCharger ScannedChargerNotifierMutableProps ScannedDevice ScannedPeripheral ScannedPixel ScannedPixelNotifierMutableProps ScanResult ScanStartErrorCode ScanStatus ScanStopReason ServiceData BluetoothLE Central Constants DiceUtils PixelsNamePrefixes serializer getCharger getDefaultPixelsDeviceName getFaceCount getFaceForLEDIndex getLEDCount getNativeErrorCode getPixel getPixelIdFromName getPixelOrThrow getPixelsBootloaderAdvertisedName getTopFace initBluetooth isPixelsBootloaderName isPixelsDeviceName requestPermissions toFullUuid useBluetoothState useForceUpdate usePixel usePixelConnect usePixelEvent usePixelInfoProp usePixelProp usePixelScannerNotify usePixelStatus useScannedPixelNotifiers useScannedPixels

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