SoundObject
Objective-C
@interface SoundObject : NSObject
Swift
class SoundObject : NSObject
This class encapsulates sound object information.
-
Initializes and returns a newly allocated object using the model data.
Declaration
Objective-C
- (nonnull instancetype)initWithModelData:(nonnull void *)data;
-
Returns the model data.
Declaration
Objective-C
- (nonnull void *)getModelData;
-
Returns true if the sound is valid or not.
Declaration
Objective-C
- (BOOL)isValid;
Swift
func isValid() -> Bool
-
Returns a human readable representation of the object.
Declaration
Objective-C
- (nonnull NSString *)toString;
Swift
func toString() -> String