#import <Foundation/Foundation.h>
#import <Audiobus/ABCommon.h>
typedef void(^ ABTriggerPerformBlock)(ABTrigger *trigger, NSSet *ports) |
Trigger perform block.
- Parameters
-
trigger | The trigger being performed |
ports | The port(s) of your app that the triggering peer is connected to. May be an empty set if triggered from the Audiobus app. |
System trigger types.
- Enumerator:
ABTriggerTypeRecordToggle |
Toggle record.
Appears as a circular button with the engraved word "REC", and turns red when in state ABTriggerStateSelected. When in state ABTriggerStateAlternate, appears with a green colour to indicate a 'primed' state.
|
ABTriggerTypePlayToggle |
Toggle playback.
Appears as a triangle (standard transport play symbol) when in state ABTriggerStateNormal, and two vertical bars (pause symbol) when in state ABTriggerStateSelected.
|
ABTriggerTypeRewind |
Rewind button.
Appears as a triangle pointing to the left, with a vertical bar at the apex.
|
ABTriggerTypeSkip |
Skip button.
Appears as a triangle pointing to the right, with a vertical bar at the apex.
|
kABTotalTriggerTypes |
|
Trigger states.
- Enumerator:
ABTriggerStateNormal |
|
ABTriggerStateSelected |
|
ABTriggerStateDisabled |
|
ABTriggerStateAlternate |
|
NSString* const ABTriggerAttributeChangedNotification |