您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

ZXEmailAddressParsedResult.h 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*
  2. * Copyright 2012 ZXing authors
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. #import "ZXParsedResult.h"
  17. @interface ZXEmailAddressParsedResult : ZXParsedResult
  18. @property (nonatomic, copy, readonly) NSArray *tos;
  19. @property (nonatomic, copy, readonly) NSArray *ccs;
  20. @property (nonatomic, copy, readonly) NSArray *bccs;
  21. @property (nonatomic, copy, readonly) NSString *subject;
  22. @property (nonatomic, copy, readonly) NSString *body;
  23. /**
  24. * @return first elements of tos or nil if none
  25. * @deprecated use tos
  26. */
  27. @property (nonatomic, copy, readonly) NSString *emailAddress DEPRECATED_ATTRIBUTE;
  28. /**
  29. * @return "mailto:"
  30. * @deprecated without replacement
  31. */
  32. @property (nonatomic, copy, readonly) NSString *mailtoURI DEPRECATED_ATTRIBUTE;
  33. - (id)initWithTo:(NSString *)to;
  34. - (id)initWithTos:(NSArray *)tos
  35. ccs:(NSArray *)ccs
  36. bccs:(NSArray *)bccs
  37. subject:(NSString *)subject
  38. body:(NSString *)body;
  39. @end