ABTrigger.h File Reference
#import <Foundation/Foundation.h>
#import "ABCommon.h"

Classes

class  ABTrigger
 Trigger. More...
 

Typedefs

typedef void(^ ABTriggerPerformBlock )(ABTrigger *trigger, NSSet *ports)
 Trigger perform block.
 

Enumerations

enum  ABTriggerSystemType {
  ABTriggerTypeRecordToggle = 1, ABTriggerTypePlayToggle, ABTriggerTypeRewind, ABTriggerTypeSkip,
  kABTotalTriggerTypes
}
 System trigger types. More...
 
enum  ABTriggerState { ABTriggerStateNormal, ABTriggerStateSelected, ABTriggerStateDisabled, ABTriggerStateAlternate }
 Trigger states. More...
 

Functions

NSString * ABTriggerStateToString (ABTriggerState)
 

Variables

NSString *const ABTriggerAttributeChangedNotification
 

Typedef Documentation

typedef void(^ ABTriggerPerformBlock)(ABTrigger *trigger, NSSet *ports)

Trigger perform block.

Parameters
triggerThe trigger being performed
portsThe port(s) of your app that the triggering peer is connected to. May be an empty set if triggered from the Audiobus app.

Enumeration Type Documentation

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 

Function Documentation

NSString* ABTriggerStateToString ( ABTriggerState  )

Variable Documentation

NSString* const ABTriggerAttributeChangedNotification