Package 

Class ToolSafetyProfile


  • @Serializable() 
    public class ToolSafetyProfile
    
                        

    Encodes the valid combinations of DriverDistractionLevel and ToolSafetyLevel.

    This class is used to define the safety profile of a voice tool, which determines whether the tool can be used while driving and what level of user confirmation is required before executing the tool.

    Usage:

    override val toolSafetyProfile = ToolSafetyProfile.SafeWhileDriving.NoConfirmation
    override val toolSafetyProfile = ToolSafetyProfile.RestrictedWhileDriving.ManualConfirmation