-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from CodingFriends/chore/update-to-yosemite
Chore/update to yosemite
- Loading branch information
Showing
40 changed files
with
1,268 additions
and
175 deletions.
There are no files selected for viewing
40 changes: 40 additions & 0 deletions
40
Source/Sentry.framework/Versions/A/Headers/PrivateSentrySDKOnly.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#import <Foundation/Foundation.h> | ||
|
||
#import "SentryDefines.h" | ||
|
||
@class SentryEnvelope, SentryDebugMeta; | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
/** | ||
* ATTENTION: This class is reserved for hybrid SDKs. Methods may be changed, renamed or removed | ||
* without notice. If you want to use one of these methods here please open up an issue and let us | ||
* now. | ||
* | ||
* The name of this class is supposed to be a bit weird and ugly. The name starts with private on | ||
* purpose so users don't see it in code completion when typing Sentry. We also add only at the end | ||
* to make it more obvious you shouldn't use it. | ||
*/ | ||
@interface PrivateSentrySDKOnly : NSObject | ||
|
||
/** | ||
* For storing an envelope synchronously to disk. | ||
*/ | ||
+ (void)storeEnvelope:(SentryEnvelope *)envelope; | ||
|
||
+ (void)captureEnvelope:(SentryEnvelope *)envelope; | ||
|
||
/** | ||
* Create an envelope from NSData. Needed for example by Flutter. | ||
*/ | ||
+ (nullable SentryEnvelope *)envelopeWithData:(NSData *)data; | ||
|
||
/** | ||
* Returns the current list of debug images. Be aware that the SentryDebugMeta is actually | ||
* describing a debug image. This class should be renamed to SentryDebugImage in a future version. | ||
*/ | ||
- (NSArray<SentryDebugMeta *> *)getDebugImages; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
90 changes: 90 additions & 0 deletions
90
Source/Sentry.framework/Versions/A/Headers/SentryAttachment.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
#import "SentryDefines.h" | ||
#import "SentrySerializable.h" | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
/** | ||
* You can use an attachment to store additional files alongside an event. | ||
*/ | ||
NS_SWIFT_NAME(Attachment) | ||
@interface SentryAttachment : NSObject | ||
SENTRY_NO_INIT | ||
|
||
/** | ||
* Initializes an attachment with data. Sets the content type to "application/octet-stream". | ||
* | ||
* @param data The data for the attachment. | ||
* @param filename The name of the attachment to display in Sentry. | ||
*/ | ||
- (instancetype)initWithData:(NSData *)data filename:(NSString *)filename; | ||
|
||
/** | ||
* Initializes an attachment with data. | ||
* | ||
* @param data The data for the attachment. | ||
* @param filename The name of the attachment to display in Sentry. | ||
* @param contentType The content type of the attachment. Default is "application/octet-stream". | ||
*/ | ||
- (instancetype)initWithData:(NSData *)data | ||
filename:(NSString *)filename | ||
contentType:(NSString *)contentType; | ||
|
||
/** | ||
* Initializes an attachment with a path. Uses the last path compontent of the path as a filename | ||
* and sets the content type to "application/octet-stream". | ||
* | ||
* @discussion The file located at the pathname is read lazily when the SDK captures an event or | ||
* transaction not when the attachment is initialized. | ||
* | ||
* @param path The path of the file whose contents you want to upload to Sentry. | ||
*/ | ||
- (instancetype)initWithPath:(NSString *)path; | ||
|
||
/** | ||
* Initializes an attachment with a path. Sets the content type to "application/octet-stream". | ||
* | ||
* @discussion The file located at the pathname is read lazily when the SDK captures an event or | ||
* transaction not when the attachment is initialized. | ||
* | ||
* @param path The path of the file whose contents you want to upload to Sentry. | ||
* @param filename The name of the attachment to display in Sentry. | ||
*/ | ||
- (instancetype)initWithPath:(NSString *)path filename:(NSString *)filename; | ||
|
||
/** | ||
* Initializes an attachment with a path. | ||
* | ||
* @discussion The file located at the pathname is read lazily when the SDK captures an event or | ||
* transaction not when the attachment is initialized. | ||
* | ||
* @param path The path of the file whose contents you want to upload to Sentry. | ||
* @param filename The name of the attachment to display in Sentry. | ||
* @param contentType The content type of the attachment. Default is "application/octet-stream". | ||
*/ | ||
- (instancetype)initWithPath:(NSString *)path | ||
filename:(NSString *)filename | ||
contentType:(NSString *)contentType; | ||
|
||
/** | ||
* The data of the attachment. | ||
*/ | ||
@property (readonly, nonatomic, strong) NSData *_Nullable data; | ||
|
||
/** | ||
* The path of the attachment. | ||
*/ | ||
@property (readonly, nonatomic, copy) NSString *_Nullable path; | ||
|
||
/** | ||
* The filename of the attachment to display in Sentry. | ||
*/ | ||
@property (readonly, nonatomic, copy) NSString *filename; | ||
|
||
/** | ||
* The content type of the attachment. Default is "application/octet-stream". | ||
*/ | ||
@property (readonly, nonatomic, copy) NSString *contentType; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
Source/Sentry.framework/Versions/A/Headers/SentryDebugImageProvider.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#import "SentryDefines.h" | ||
#import <Foundation/Foundation.h> | ||
|
||
@class SentryDebugMeta; | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
/** | ||
* Reserved for hybrid SDKs that the debug image list for symbolication. | ||
*/ | ||
@interface SentryDebugImageProvider : NSObject | ||
|
||
- (instancetype)init; | ||
|
||
/** | ||
* Returns the current list of debug images. Be aware that the SentryDebugMeta is actually | ||
* describing a debug image. This class should be renamed to SentryDebugImage in a future version. | ||
*/ | ||
- (NSArray<SentryDebugMeta *> *)getDebugImages; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.