Android.App.UiModeManager.EnableCarMode Method
Force device into car mode, like it had been placed in the car dock.

Syntax

[Android.Runtime.Register("enableCarMode", "(I)V", "GetEnableCarMode_IHandler")]
public virtual void EnableCarMode ([Android.Runtime.GeneratedEnum] EnableCarModeFlags flags)

Parameters

flags
Must be 0.

Remarks

Force device into car mode, like it had been placed in the car dock. This will cause the device to switch to the car home UI as part of the mode switch.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8