/// <summary> /// Called when the add-on succeeds in fetching the local information. /// </summary> private void OnLocalAddonInfoFetchSuccess(AvcAddonInfo localAddonInfo) { LocalAddonInfo = localAddonInfo; // Fetch the remote add-on information. GetAddonInfoFromWeb(localAddonInfo?.Url, OnRemoteAddonInfoFetchSuccess, OnRemoteAddonInfoFetchFailure); }
/// <summary> /// Called when the add-on succeeds in fetching the local information. /// </summary> private void OnLocalAddonInfoFetchSuccess(AvcAddonInfo localAddonInfo) { LocalAddonInfo = localAddonInfo; // Fetch the remote add-on information. GetAddonInfoFromWeb(localAddonInfo?.Url, OnRemoteAddonInfoFetchSuccess, OnRemoteAddonInfoFetchFailure); }
/// <summary> /// Called when fetching the remote add-on information succeeded. /// </summary> private void OnRemoteAddonInfoFetchSuccess(AvcAddonInfo remoteAddonInfo) { RemoteAddonInfo = remoteAddonInfo; State = AddonState.Success; onFetchComplete?.Invoke(this); }
/// <summary> /// Called when fetching the remote add-on information succeeded. /// </summary> private void OnRemoteAddonInfoFetchSuccess(AvcAddonInfo remoteAddonInfo) { RemoteAddonInfo = remoteAddonInfo; State = AddonState.Success; onFetchComplete?.Invoke(this); }