Skip to content
com.iristick.smartglass.support.app

Interface HudActivity


public interface HudActivity
Interface for activities that want to draw custom UI on the heads-up display.
Since:
Android API level 19

Method Summary

Modifier and Type Method and Description
HudPresentation onCreateHudPresentation(Display display)
Called when Iristick smart glasses are connected and the heads-up display has been opened.

Method Detail

onCreateHudPresentation

@Nullable
HudPresentation onCreateHudPresentation(@NonNull
                                                  Display display)
Called when Iristick smart glasses are connected and the heads-up display has been opened. Implementations should provide an instance of a HudPresentation subclass to show on the heads-up display.
Parameters:
display - The heads-up display to be provided to the HudPresentation constructor.
Returns:
The custom UI to show on the heads-up display.