- Inherits from:
- NSObject
- Conforms to:
- NSCoding
- NSObject (NSObject)
- Declared in:
- PYMIDI/PYMIDIEndpointDescriptor.h
The PYMIDIEndpointDescriptor class encapsulates all the information necessary to uniquely identify a particular endpoint and can be used to store a reference to an endpoint.
Currently this information consists of the endpoint's name and its internal unique ID, but you should try not depend on this implementation.
Descriptors are rarely created explicitly. Normally you will get the descriptor for an endpoint using the PYMIDIEndpoint descriptor method or by using unarchiving techniques.
Creating and initialiazing a PYMIDIEndpointDescriptorGetting descriptor attributes
- + descriptorWithName:uniqueID:
- - initWithName:UniqueID:
- - name
- - uniqueID
+ (id)descriptorWithName:(NSString*)name
uniqueID:(SInt32)uniqueID
Creates and returns a descriptor with the given name and uniqueID.
- (id)initWithName:(NSString*)name
uniqueID:(SInt32)uniqueID
Initializes a newly allocated descriptor with the given name and uniqueID.
See Also: - descriptorWithName:uniqueID:
- (NSString*)name
Returns the name of the descriptor.
See Also: - uniqueID
- (SInt32)uniqueID
Returns the unique ID of the descriptor.
See Also: - name