public IArtistBrowse Browse(sp_artistbrowse_type type = sp_artistbrowse_type.FULL) { lock (libspotify.Mutex) { IntPtr artistBrowsePtr = libspotify.sp_artistbrowse_create(session.sessionPtr, artistPtr, type, Marshal.GetFunctionPointerForDelegate(SpotifyLib.ArtistBrowse.artistbrowse_complete), IntPtr.Zero); return artistBrowsePtr != IntPtr.Zero ? SpotifyLib.ArtistBrowse.Get(session, artistBrowsePtr) : null; } }
public IArtistBrowse Browse(sp_artistbrowse_type type = sp_artistbrowse_type.FULL) { lock (libspotify.Mutex) { IntPtr artistBrowsePtr = libspotify.sp_artistbrowse_create(session.sessionPtr, artistPtr, type, Marshal.GetFunctionPointerForDelegate(SpotifyLib.ArtistBrowse.artistbrowse_complete), IntPtr.Zero); return(artistBrowsePtr != IntPtr.Zero ? SpotifyLib.ArtistBrowse.Get(session, artistBrowsePtr) : null); } }
public IArtistBrowse Browse(sp_artistbrowse_type type = sp_artistbrowse_type.FULL) { return IsAlive() ? artist.Browse(type) : null; }
public static extern IntPtr sp_artistbrowse_create(IntPtr sessionPtr, IntPtr artistPtr, sp_artistbrowse_type type, artistbrowse_complete_cb callback, IntPtr userDataPtr);
internal static extern IntPtr sp_artistbrowse_create(IntPtr sessionPtr, IntPtr artistPtr, sp_artistbrowse_type type, IntPtr callbackPtr, IntPtr userDataPtr);
public IArtistBrowse Browse(sp_artistbrowse_type type = sp_artistbrowse_type.FULL) { return(IsAlive() ? artist.Browse(type) : null); }