Exemple #1
0
        /// <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);
        }
Exemple #2
0
        /// <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);
        }
Exemple #3
0
 /// <summary>
 ///     Called when fetching the remote add-on information succeeded.
 /// </summary>
 private void OnRemoteAddonInfoFetchSuccess(AvcAddonInfo remoteAddonInfo)
 {
     RemoteAddonInfo = remoteAddonInfo;
     State = AddonState.Success;
     onFetchComplete?.Invoke(this);
 }
Exemple #4
0
 /// <summary>
 ///     Called when fetching the remote add-on information succeeded.
 /// </summary>
 private void OnRemoteAddonInfoFetchSuccess(AvcAddonInfo remoteAddonInfo)
 {
     RemoteAddonInfo = remoteAddonInfo;
     State           = AddonState.Success;
     onFetchComplete?.Invoke(this);
 }