This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using System.Runtime.InteropServices; | |
| public class Binding : MonoBehaviour | |
| { | |
| [DllImport("__Internal")] | |
| private static extern void Initialize_(); | |
| public static void Initialize() | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using System.Runtime.InteropServices; | |
| public class Binding : MonoBehaviour | |
| { | |
| [DllImport("__Internal")] | |
| private static extern void Initialize_(); | |
| public static void Initialize() | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| MPMusicPlayerController *myPlayer; | |
| MPMediaItem *curItem; | |
| NSArray *playlists; | |
| void setQueueWithPlaylist(NSString * name) | |
| { | |
| MPMediaQuery *query = [MPMediaQuery playlistsQuery]; | |
| playlists = query.collections; | |
| for (MPMediaPlaylist *playlist in playlists) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #import <Foundation/Foundation.h> | |
| #import <MediaPlayer/MediaPlayer.h> | |
| #import <AVFoundation/AVFoundation.h> |
NewerOlder