Click or drag to resize

MediaPlayer8RetrieveStreamingAssetIfNeeded Method

For mobile local files, we need to retrieve the file from the package and copy it to persistentDataPath in order to play it

Namespace:  frame8.Logic.Media.MediaPlayer
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
protected virtual IEnumerator RetrieveStreamingAssetIfNeeded(
	string mediaPath,
	Action<string> onDone
)

Parameters

mediaPath
Type: SystemString
onDone
Type: SystemActionString

Return Value

Type: IEnumerator
See Also