Méthode | Description | |
---|---|---|
GetCastDevices ( ) : List |
||
GetCastVolume ( ) : float | ||
GetLastError ( ) : CastError | ||
GetSelectedCastDevice ( ) : CastDevice | ||
IsCasting ( ) : bool | ||
OnAudioFilterRead ( float data, int channels ) : void | ||
OnGUI ( ) : void | ||
SelectCastDevice ( string deviceId ) : void | ||
SetCastVolume ( float volume ) : void | ||
SetEventHandlers ( CastEventHandler onCastDevicesUpdatedCallback, CastEventHandler onRemoteDisplaySessionStartCallback, CastEventHandler onRemoteDisplaySessionEndCallback, CastEventHandler onErrorCallback, CastVolumeHandler onVolumeChangedCallback ) : void | ||
StopRemoteDisplaySession ( ) : void | ||
UpdateAudioListener ( |
||
UpdateRemoteDisplayTexture ( ) : void | ||
_callback_OnCastDevicesUpdated ( string dummy ) : void | ||
_callback_OnCastError ( string rawErrorString ) : void | ||
_callback_OnRemoteDisplaySessionEnd ( string dummy ) : void | ||
_callback_OnRemoteDisplaySessionStart ( string deviceId ) : void | ||
_callback_OnVolumeUpdated ( string volumeString ) : void |
Méthode | Description | |
---|---|---|
Activate ( ) : void | ||
Awake ( ) : void | ||
CacheSelectedDevice ( string deviceId ) : void | ||
Deactivate ( ) : void | ||
DiscardGeneratedTextureIfNeeded ( ) : void | ||
MaybeRenderFrame ( ) : void | ||
OnApplicationPause ( bool paused ) : void | ||
OnDisable ( ) : void | ||
OnEnable ( ) : void | ||
RenderRemoteDisplayCoroutine ( ) : IEnumerator | ||
SetVolumeDeferred ( ) : IEnumerator | ||
Update ( ) : void | ||
UpdateCastDevicesFromNativeCode ( ) : void | ||
checkValidTexture ( ) : void | ||
disconnect ( ) : void | ||
extractErrorCode ( string rawErrorString ) : CastErrorCode | ||
extractErrorString ( string rawErrorString ) : string |
public GetSelectedCastDevice ( ) : CastDevice | ||
Résultat | CastDevice |
public OnAudioFilterRead ( float data, int channels ) : void | ||
data | float | |
channels | int | |
Résultat | void |
public SelectCastDevice ( string deviceId ) : void | ||
deviceId | string | |
Résultat | void |
public SetCastVolume ( float volume ) : void | ||
volume | float | |
Résultat | void |
public SetEventHandlers ( CastEventHandler onCastDevicesUpdatedCallback, CastEventHandler onRemoteDisplaySessionStartCallback, CastEventHandler onRemoteDisplaySessionEndCallback, CastEventHandler onErrorCallback, CastVolumeHandler onVolumeChangedCallback ) : void | ||
onCastDevicesUpdatedCallback | CastEventHandler | |
onRemoteDisplaySessionStartCallback | CastEventHandler | |
onRemoteDisplaySessionEndCallback | CastEventHandler | |
onErrorCallback | CastEventHandler | |
onVolumeChangedCallback | CastVolumeHandler | |
Résultat | void |
public UpdateAudioListener ( |
||
previouslistener | ||
newlistener | ||
Résultat | void |
public UpdateRemoteDisplayTexture ( ) : void | ||
Résultat | void |
public _callback_OnCastDevicesUpdated ( string dummy ) : void | ||
dummy | string | |
Résultat | void |
public _callback_OnCastError ( string rawErrorString ) : void | ||
rawErrorString | string | |
Résultat | void |
public _callback_OnRemoteDisplaySessionEnd ( string dummy ) : void | ||
dummy | string | |
Résultat | void |
public _callback_OnRemoteDisplaySessionStart ( string deviceId ) : void | ||
deviceId | string | |
Résultat | void |
public _callback_OnVolumeUpdated ( string volumeString ) : void | ||
volumeString | string | |
Résultat | void |