-
Notifications
You must be signed in to change notification settings - Fork 1
SceneManager
• new SceneManager(hue
)
Name | Type |
---|---|
hue |
Hue |
• Readonly
cache: Collection
<string
, Scene
>
• holds: typeof Scene
= Scene
src/managers/SceneManager.ts:10
• Readonly
hue: Hue
• type: ResourceType
= ResourceType.Scene
src/managers/SceneManager.ts:9
▸ _add(data
): Scene
Name | Type |
---|---|
data |
any |
▸ _delete(id
): Promise
<ResourceIdentifier
<ResourceType
>[]>
Name | Type |
---|---|
id |
string |
Promise
<ResourceIdentifier
<ResourceType
>[]>
▸ _get(id
): Promise
<SceneGet
>
Name | Type |
---|---|
id |
string |
Promise
<SceneGet
>
▸ _post(data
): Promise
<ResourceIdentifier
<ResourceType
>[]>
Name | Type |
---|---|
data |
ScenePost |
Promise
<ResourceIdentifier
<ResourceType
>[]>
▸ _put(id
, data
): Promise
<ResourceIdentifier
<ResourceType
>[]>
Name | Type |
---|---|
id |
string |
data |
ScenePut |
Promise
<ResourceIdentifier
<ResourceType
>[]>
▸ create(groupId
, options
): Promise
<undefined
| string
>
Name | Type |
---|---|
groupId |
string |
options |
SceneCreateOptions |
Promise
<undefined
| string
>
src/managers/SceneManager.ts:12
▸ delete(id
): Promise
<void
>
Name | Type |
---|---|
id |
string |
Promise
<void
>
src/managers/SceneManager.ts:33
▸ edit(id
, options
): Promise
<void
>
Name | Type |
---|---|
id |
string |
options |
SceneEditOptions |
Promise
<void
>