@d4l/react-native-wear-connectivity
Version:
Establish a two-way connection with wearOS
10 lines • 344 B
TypeScript
export type EventType = 'message' | 'genuineMessage';
type UnsubscribeFn = Function;
type CallbackFunction = (event: any) => void;
export type AddListener = (event: EventType, cb: CallbackFunction) => UnsubscribeFn;
export type WatchEvents = {
addListener: AddListener;
on: AddListener;
};
export {};
//# sourceMappingURL=types.d.ts.map