Developer Documentation
PATH  Mac OS X Documentation > Application Kit Reference: Objective-C

Table of Contents

NSSound


Inherits from:
NSCopying : NSCoding : NSObject (NSObject)
Declared in:
AppKit/NSSound.h




Class Description


Description forthcoming.




Method Types


TBD Method Group Name
+ canInitWithPasteboard:
+ soundNamed:
+ soundUnfilteredFileTypes
+ soundUnfilteredPasteboardTypes
- delegate
- initWithContentsOfFile:byReference:
- initWithContentsOfURL:byReference:
- initWithPasteboard:
- name
- pause
- play
- resume
- setDelegate:
- setName:
- stop
- writeToPasteboard:


Class Methods



canInitWithPasteboard:

+ (BOOL)canInitWithPasteboard:(NSPasteboard *)pasteboard;

Description forthcoming.

soundNamed:

+ (id)soundNamed:(NSString *)name;

Description forthcoming.

soundUnfilteredFileTypes

+ (NSArray *)soundUnfilteredFileTypes;

Description forthcoming.

soundUnfilteredPasteboardTypes

+ (NSArray *)soundUnfilteredPasteboardTypes;

Description forthcoming.


Instance Methods



delegate

- (id)delegate;

Description forthcoming.

initWithContentsOfFile:byReference:

- (id)initWithContentsOfFile:(NSString *)path byReference:(BOOL)byRef;

Description forthcoming.

initWithContentsOfURL:byReference:

- (id)initWithContentsOfURL:(NSURL *)url byReference:(BOOL)byRef;

Description forthcoming.

initWithPasteboard:

- (id)initWithPasteboard:(NSPasteboard *)pasteboard;

Description forthcoming.

isPlaying

- (BOOL)isPlaying;

Description forthcoming.

name

- (NSString *)name;

Description forthcoming.

pause

- (BOOL)pause;

Description forthcoming.

play

- (BOOL)play;

Description forthcoming.

resume

- (BOOL)resume;

Description forthcoming.

setDelegate:

- (void)setDelegate:(id)aDelegate;

Description forthcoming.

setName:

- (BOOL)setName:(NSString *)string;

Description forthcoming.

stop

- (BOOL)stop;

Description forthcoming.

writeToPasteboard:

- (void)writeToPasteboard:(NSPasteboard *)pasteboard;

Description forthcoming.


Methods Implemented By the Delegate


sound:didFinishPlaying:

- (void)sound:(NSSound *)sound didFinishPlaying:(BOOL)aBool;

Description forthcoming.


Table of Contents