getDoorbellService
Requires:
@ray-js/lock-sdk≥1.0.0
Method signature
getDoorbellService()Description
Get doorbell notification service info
Parameters
None
Return Value
Type: Promise<LinkageRule>
Doorbell linkage rule summary (truthy when rules exist; detail fields returned by the cloud)
LinkageRule
| Property | Type | Description |
|---|---|---|
background | string | Service card background image URL |
code | string | Service code; e.g., doorbell ringing is `doorbell_ring` |
description | string | Service description text |
displayColor | string | Service primary display color (hex color value) |
icon | string | Service icon URL |
order | number | Service sort order; smaller values appear first |
title | string | Service title text |
ruleId | string | Created automation rule ID; not returned if not created |
| Automation rule details; not returned if no rule created |