This delegate method allows the delegate to determine if the media inserted in the device is suitable for whatever operation is to be performed.
Original signature is '- (BOOL) setupPanel:(DRSetupPanel*)aPanel deviceContainsSuitableMedia:(DRDevice*)device promptString:(NSString**)prompt'
Declaration Syntax
C# | Visual Basic | Visual C++ |
public bool SetupPanelDeviceContainsSuitableMediaPromptStringMessage( DRSetupPanel aPanel, DRDevice device, out NSString prompt )
Public Function SetupPanelDeviceContainsSuitableMediaPromptStringMessage ( _ aPanel As DRSetupPanel, _ device As DRDevice, _ <OutAttribute> ByRef prompt As NSString _ ) As Boolean
public: bool SetupPanelDeviceContainsSuitableMediaPromptStringMessage( DRSetupPanel^ aPanel, DRDevice^ device, [OutAttribute] NSString^% prompt )
Parameters
- aPanel (DRSetupPanel)
- The setup panel sending the message.
- device (DRDevice)
- The device that contains the media being asked about.
- prompt (NSString%)
- A pointer to storage for an NSString. Pass back an NSString object describing the media state.
Return Value
Return NO to disable the default button.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)