[−][src]Trait cocoa::appkit::NSSound
Required methods
unsafe fn initWithContentsOfFile_withReference_(
self,
filepath: id,
byRef: BOOL
) -> id
self,
filepath: id,
byRef: BOOL
) -> id
unsafe fn initWithContentsOfURL_withReference_(
self,
fileUrl: id,
byRef: BOOL
) -> id
self,
fileUrl: id,
byRef: BOOL
) -> id
unsafe fn initWithData_(self, audioData: id) -> id
unsafe fn initWithPasteboard_(self, pasteboard: id) -> id
unsafe fn name(self) -> id
unsafe fn volume(self) -> f32
unsafe fn currentTime(self) -> NSTimeInterval
unsafe fn loops(self) -> BOOL
unsafe fn playbackDeviceIdentifier(self) -> id
unsafe fn delegate(self) -> id
unsafe fn duration(self) -> NSTimeInterval
unsafe fn playing(self) -> BOOL
unsafe fn pause(self) -> BOOL
unsafe fn play(self) -> BOOL
unsafe fn resume(self) -> BOOL
unsafe fn stop(self) -> BOOL
unsafe fn writeToPasteboard_(self, pasteboard: id)
Provided methods
unsafe fn canInitWithPasteboard_(_: Self, pasteboard: id) -> BOOL
unsafe fn soundUnfilteredTypes(_: Self) -> id
unsafe fn soundNamed_(_: Self, soundName: id) -> id
Implementors
impl NSSound for id
[src]
unsafe fn initWithContentsOfFile_withReference_(
self,
filepath: id,
byRef: BOOL
) -> id
[src]
self,
filepath: id,
byRef: BOOL
) -> id
unsafe fn initWithContentsOfURL_withReference_(
self,
fileUrl: id,
byRef: BOOL
) -> id
[src]
self,
fileUrl: id,
byRef: BOOL
) -> id