Bixby Developer Center

Guides
References

capsule-lock

optionalvalue optional

Determines if a result view has capsule lock enabled. If set to true, capsule lock is enabled. This key can override the result-view-capsule-lock flag in your currently set capsule version. You can conditionally or explicitly set the value.

Examples

result-view {
match { ...}
message { ...}
render { ...}
conversation-drivers { ...}

capsule-lock ($can.language == 'en')
}
result-view {
match { ...}
message { ...}
render { ...}
conversation-drivers { ...}

capsule-lock {
if ($can.device == 'bixby-mobile') {
value (true) // any boolean expression
} else {
value (false) // any boolean expression
}
}
}

Child Keys

value
required
The value to be passed to capsule-lock