Ejemplo n.º 1
0
        /// <summary>
        /// Gets the icon path.
        /// </summary>
        /// <returns>The icon path.</returns>
        /// <exception cref="InvalidOperationException">
        ///     The server has already been stopped.<br/>
        ///     -or-<br/>
        ///     An internal error occurs.
        /// </exception>
        /// <exception cref="ObjectDisposedException">The <see cref="MediaControllerManager"/> has already been disposed.</exception>
        /// <since_tizen> 5 </since_tizen>
        public string GetIconPath()
        {
            ThrowIfStopped();

            Native.GetServerIcon(Manager.Handle, ServerAppId, out string uri).
            ThrowIfError("Failed to get icon path.");

            return(uri);
        }