setupPanel(_:deviceContainsSuitableMedia:promptString:)
This delegate method allows the delegate to determine if the media inserted in the device is suitable for whatever operation is to be performed.
Declaration
func setupPanel(_ aPanel: DRSetupPanel!, deviceContainsSuitableMedia device: DRDevice!, promptString prompt: AutoreleasingUnsafeMutablePointer<NSString?>!) -> BoolParameters
- aPanel:
The panel.
- device:
The device that contains the media being asked about.
- prompt:
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.