C# Class Google.Cast.RemoteDisplay.Internal.CastRemoteDisplayUnityExtension

Inheritance: ICastRemoteDisplayExtension
显示文件 Open project: googlecast/RemoteDisplayUnitySample

Public Methods

Method Description
Activate ( ) : void
CastRemoteDisplayUnityExtension ( CastRemoteDisplayExtensionManager extensionManager, Google.Cast.RemoteDisplay.Internal.CastRemoteDisplaySimulator displaySimulator ) : System.Collections.Generic
Deactivate ( ) : void
GetCastDevices ( CastDevice &connectedCastDevice ) : List
GetCastVolume ( ) : float
OnAudioFilterRead ( float data, int channels ) : void
OnEnable ( ) : void
OnRemoteDisplaySessionStart ( string deviceName ) : void
OnRemoteDisplaySessionStop ( ) : void
RenderFrame ( ) : void
SelectCastDevice ( string deviceId ) : void
SetCastVolume ( float volume ) : void
SetRemoteDisplayTexture ( Texture texture ) : void
StopRemoteDisplaySession ( ) : void
ThrowError ( CastErrorCode errorCode ) : void
UpdateDevices ( ) : void

Method Details

Activate() public method

public Activate ( ) : void
return void

CastRemoteDisplayUnityExtension() public method

public CastRemoteDisplayUnityExtension ( CastRemoteDisplayExtensionManager extensionManager, Google.Cast.RemoteDisplay.Internal.CastRemoteDisplaySimulator displaySimulator ) : System.Collections.Generic
extensionManager CastRemoteDisplayExtensionManager
displaySimulator Google.Cast.RemoteDisplay.Internal.CastRemoteDisplaySimulator
return System.Collections.Generic

Deactivate() public method

public Deactivate ( ) : void
return void

GetCastDevices() public method

public GetCastDevices ( CastDevice &connectedCastDevice ) : List
connectedCastDevice CastDevice
return List

GetCastVolume() public method

public GetCastVolume ( ) : float
return float

OnAudioFilterRead() public method

public OnAudioFilterRead ( float data, int channels ) : void
data float
channels int
return void

OnEnable() public method

public OnEnable ( ) : void
return void

OnRemoteDisplaySessionStart() public method

public OnRemoteDisplaySessionStart ( string deviceName ) : void
deviceName string
return void

OnRemoteDisplaySessionStop() public method

public OnRemoteDisplaySessionStop ( ) : void
return void

RenderFrame() public method

public RenderFrame ( ) : void
return void

SelectCastDevice() public method

public SelectCastDevice ( string deviceId ) : void
deviceId string
return void

SetCastVolume() public method

public SetCastVolume ( float volume ) : void
volume float
return void

SetRemoteDisplayTexture() public method

public SetRemoteDisplayTexture ( Texture texture ) : void
texture UnityEngine.Texture
return void

StopRemoteDisplaySession() public method

public StopRemoteDisplaySession ( ) : void
return void

ThrowError() public method

public ThrowError ( CastErrorCode errorCode ) : void
errorCode CastErrorCode
return void

UpdateDevices() public method

public UpdateDevices ( ) : void
return void