Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.roadshop.org/llms.txt

Use this file to discover all available pages before exploring further.

Access Control Functions

isBlocked

Check if CarPlay is currently blocked.
return
boolean
Returns true if CarPlay is blocked, false otherwise
local blocked = exports['roadcarplay']:isBlocked() -- returns true / false

blockCarPlay

Prevent CarPlay from turning on.
exports['roadcarplay']:blockCarPlay()

unblockCarPlay

Remove blocked status from CarPlay, allowing users to turn it on again.
exports['roadcarplay']:unblockCarPlay()