Google.Cast.RemoteDisplay

Summary

Enumerations

CastErrorCode{
  NoError = 0,
  RemoteDisplayUnsupported = 1,
  GooglePlayServicesUpdateRequired = 2,
  RemoteDisplayConfigurationRejected = 3,
  ErrorCodeMalformed = 1000
}
enum
Error codes for Cast Remote Display.
CastRemoteDisplayFrameRate{
  Fps15 = 15,
  Fps24 = 24,
  Fps25 = 25,
  Fps30 = 30,
  Fps60 = 60
}
enum
Frame rates expected by the remote display session from the game.
CastRemoteDisplayResolution{
  Resolution720p = 720,
  Resolution1080p = 1080
}
enum
TV resolutions supported by a remote display session.

Classes

Google.Cast.RemoteDisplay.CastDevice

Represents a cast device.

Google.Cast.RemoteDisplay.CastError

Represents an error that triggered by the Cast Remote Display Plugin.

Google.Cast.RemoteDisplay.CastRemoteDisplayAudioListener

Ensures that an AudioListener has the required components to make sure they are not added at runtime.

Google.Cast.RemoteDisplay.CastRemoteDisplayConfiguration

Specifies the remote display configuration to set up a session.

Google.Cast.RemoteDisplay.CastRemoteDisplayEvent

Used to allow the events fired by CastRemoteDisplayManager to be serialized in the inspector.

Google.Cast.RemoteDisplay.CastRemoteDisplayManager

Entry point to the Google Cast Remote Display API for Unity.

Google.Cast.RemoteDisplay.CastRemoteDisplayVolumeEvent

Used to allow the volume events fired by CastRemoteDisplayManager to be serialized in the inspector.

Namespaces

Google.Cast.RemoteDisplay.UI

Enumerations

CastErrorCode

 CastErrorCode

Error codes for Cast Remote Display.

Properties
ErrorCodeMalformed

Thrown when the error message is malformed.

Indicates an internal Cast error.

GooglePlayServicesUpdateRequired

Thrown when the version of Google Play Services needs to be updated.

NoError

The default error code when there are no errors.

RemoteDisplayConfigurationRejected

Thrown when the Remote Display configuration was rejected by the cast device.

RemoteDisplayUnsupported

Thrown when the device OS is unsupported.

Remote Display requires a minimum of iOS 8 or Android KitKat. (4.4)

CastRemoteDisplayFrameRate

 CastRemoteDisplayFrameRate

Frame rates expected by the remote display session from the game.

The video encoder on the device and TV will expect the game to provide frames at this frame rate. If the game exceeds this frame rate, then it is possible for stutters and slowdowns to occur.

Properties
Fps15

Specifies 15 frames per second coming from the game.

Fps24

Specifies 24 frames per second coming from the game.

Fps25

Specifies 25 frames per second coming from the game.

Fps30

Specifies 30 frames per second coming from the game.

Fps60

Specifies 60 frames per second coming from the game.

CastRemoteDisplayResolution

 CastRemoteDisplayResolution

TV resolutions supported by a remote display session.

Properties
Resolution1080p

Specifies 1920x1080 for the session.

Resolution720p

Specifies 1280x720 for the session.