예제 #1
0
        public IAsyncResult BeginBrowse(Session session, AsyncCallback userCallback, object state)
        {
            Internal.ThrowHelper.ThrowIfNull(session, "session");
            Internal.ThrowHelper.ThrowIfNull(userCallback, "userCallback");

            BrowseResult browseResult = new BrowseResult(userCallback, state);

            LibSpotify.sp_albumbrowse_create_r(session.Handle, Handle, browseResult.Complete, IntPtr.Zero);

            return(browseResult);
        }