コード例 #1
0
 private void InstallDisplay(NowPlayingSource nps)
 {
     if (installedSource == null && nps != null)
     {
         nps.SetSubstituteAudioDisplay(contents);
         installedSource = nps;
     }
 }
コード例 #2
0
        public void Dispose()
        {
            if (installedSource != null)
            {
                installedSource.SetSubstituteAudioDisplay(null);
                installedSource = null;
            }

            contents.Destroy();
            contents.Dispose();
            contents = null;
        }