JMWifi.h
IntroductionUse the links in the table of contents to the left to access the documentation. Classes
MethodsconnectWithHost:port:formRecovery:complete:- (void)connectWithHost:(nonnull NSString *)ip port:(uint16_t)port formRecovery:(BOOL)formRecovery complete:(nullable JMComplete)complete; ParametersDiscussion连接打印机 scanWithDiscover:- (void)scanWithDiscover:(nullable JMDiscoverWifi)discover; ParametersDiscussion扫描打印机 shareWifi+ (nonnull JMWifi *)shareWifi; Return ValueJMWifi 单例对象 Discussion单例 Properties
ip设备端 IP -connectWithHost:port:defendLose:complete: 中设置值,在下一次设置值前,其值不变 @property (nonatomic, copy, readonly, nullable) NSString *ip; port设备端口号 -connectWithHost:port:defendLose:complete: 中设置值,在下一次设置值前,其值不变 @property (nonatomic, assign, readonly) uint16_t port; Macro DefinitionsSINGLETONWIFI#define SINGLETONWIFI [JMWifi shareWifi] DiscussionWifi 单例对象 |