useFileSystem

Hook for file system storage events for runtime signal-aware components

import { useFileSystem } from "@roku-sdk/runtime/file-system";
const useFileSystem: () => { storageDeviceChanged: Accessor<StorageEvent | null> } & Record<string, never>

Description

Hook for file system storage events for runtime signal-aware components.

Provides storageDeviceChanged signal that emits a StorageEvent whenever the filesystem device list changes.


What’s Next

Did this page help you?