Google.Cast.RemoteDisplay.UI.CastErrorDialog

The dialog for displaying error messages from the cast remote display manager.

Summary

Inheritance

Inherits from: MonoBehaviour

Public attributes

okayButton
Button
Outlet for the confirm button.
okayButtonTappedCallback
The callback for closing the error dialog.
statusLabel
Text
Outlet for the status label to display errors.
titleLabel
Text
Outlet for the title label to display errors.

Public functions

OnOkayButtonTapped()
void
Triggers the callback for closing the error dialog.
SetError(CastError error)
void
When an error is thrown, set up the error dialog to display it when the Cast button is pressed.

Public attributes

okayButton

Button okayButton

Outlet for the confirm button.

okayButtonTappedCallback

UICallback okayButtonTappedCallback

The callback for closing the error dialog.

statusLabel

Text statusLabel

Outlet for the status label to display errors.

titleLabel

Text titleLabel

Outlet for the title label to display errors.

Public functions

OnOkayButtonTapped

void OnOkayButtonTapped()

Triggers the callback for closing the error dialog.

Set as the OnClick function for OkayButton.

SetError

void SetError(
  CastError error
)

When an error is thrown, set up the error dialog to display it when the Cast button is pressed.