public void loadImage() { if (!isInitialized) { Debug.Log(LOG_TAG + " not initialized."); return; } StartCoroutine(loadImageCoroutine(fileSeeker.getPath())); }
public void startVideoPlay() { if (!isInitialized) { Debug.Log(LOG_TAG + " not initialized."); return; } if (isAdaptToResolution) { decoder.onInitComplete.AddListener(adaptResolution); } decoder.onInitComplete.AddListener(decoder.startDecoding); decoder.onInitComplete.AddListener(decoder.onInitComplete.RemoveAllListeners); decoder.initDecoder(fileSeeker.getPath()); }