-
Notifications
You must be signed in to change notification settings - Fork 1
Remote Command Center
levching edited this page Apr 15, 2020
·
3 revisions
The ISN_MPRemoteCommandCenter object that responds to remote control events sent by external accessories and system controls.
See the example how to listen for most popular events below:
using SA.iOS.MediaPlayer;
...
ISN_MPRemoteCommandCenter.OnPlayCommand.AddListener(() => {
Debug.Log("OnPlayCommand");
});
ISN_MPRemoteCommandCenter.OnPauseCommand.AddListener(() => {
Debug.Log("OnPauseCommand");
});
ISN_MPRemoteCommandCenter.OnStopCommand.AddListener(() => {
Debug.Log("OnStopCommand");
});
ISN_MPRemoteCommandCenter.OnNextTrackCommand.AddListener(() => {
Debug.Log("OnNextTrackCommand");
});
ISN_MPRemoteCommandCenter.OnPreviousTrackCommand.AddListener(() => {
Debug.Log("OnPreviousTrackCommand");
});
Reliable and high-quality Unity Development service. Let's Talk!
Website | AssetStore | LinkedIn | Youtube | Scripting Reference
- Getting Started
- Authentication
- Game Center UI
- Leaderboards
- Default Leaderboard
- Achievements
- Saving A Game
- Access Point
- iTunes Connect Setup
- StoreKit Initialization
- Purchase flow
- Receipt Validation
- Store Review Controller
- Storefront API
- Subscription Offers