MIKMIDIEntity
Objective-C
@interface MIKMIDIEntity : MIKMIDIObjectSwift
class MIKMIDIEntity : MIKMIDIObjectMIKMIDIEntity represents a logical grouping of endpoints within a MIDI device. It essentially acts as a simple container for endpoints.
As part of MIKMIDIDevice’s support for wrapping virtual endpoints, an MIKMIDIEntity can also be created using virtual MIDI endpoints.
- 
                  
                  Convenience method for creating a “virtual” MIKMIDIEntity instance from one or more virtual endpoints. This method is typically not called directly by clients of MIKMIDI. Rather it’s used by MIKMIDIDevice’s internal machinery for creating virtual devices. See +[MIKMIDIDevice deviceWithVirtualEndpoints:] DeclarationObjective-C + (nullable instancetype)entityWithVirtualEndpoints: (nonnull NSArray<MIKMIDIEndpoint *> *)endpoints;ParametersendpointsAn array of one or more virtual endpoints, including both source and destination endpoints. Return ValueAn initialized MIKMIDIEntity instance. 
- 
                  
                  Creates and initializes a “virtual” MIKMIDIEntity instance from one or more virtual endpoints. This method is typically not called directly by clients of MIKMIDI. Rather it’s used by MIKMIDIDevice’s internal machinery for creating virtual devices. See -[MIKMIDIDevice initWithVirtualEndpoints:] DeclarationObjective-C - (nullable instancetype)initWithVirtualEndpoints: (nonnull NSArray<MIKMIDIEndpoint *> *)endpoints;Swift init?(virtualEndpoints endpoints: [MIKMIDIEndpoint])ParametersendpointsAn array of one or more virtual endpoints, including both source and destination endpoints. Return ValueAn initialized MIKMIDIEntity instance. 
- 
                  
                  The device that contains the receiver. May be nil if the receiver is a virtual entity not contained by a virtual device. DeclarationObjective-C @property (nonatomic, weak, readonly, nullable) MIKMIDIDevice *device;Swift weak var device: MIKMIDIDevice? { get }
- 
                  
                  The source (input) endpoints contained by the receiver. An array of MIKMIDISourceEndpoint instances. DeclarationObjective-C @property (nonatomic, readonly) NSArray<MIKMIDISourceEndpoint *> *_Nonnull sources;Swift var sources: [MIKMIDISourceEndpoint] { get }
- 
                  
                  The destination (output) endpoints contained by the receiver. An array of MIKMIDIDestinationEndpoint instances. DeclarationObjective-C @property (nonatomic, readonly) NSArray<MIKMIDIDestinationEndpoint *> *_Nonnull destinations;Swift var destinations: [MIKMIDIDestinationEndpoint] { get }
 View on GitHub
View on GitHub MIKMIDIEntity Class Reference
        MIKMIDIEntity Class Reference