@@ -263,11 +263,6 @@ - (void)setTracesSampleRate:(NSNumber *)tracesSampleRate
263263 }
264264}
265265
266- - (void )setTracesSampler : (SentryTracesSamplerCallback)tracesSampler
267- {
268- _tracesSampler = tracesSampler;
269- }
270-
271266- (BOOL )isTracingEnabled
272267{
273268 return (_tracesSampleRate != nil && [_tracesSampleRate doubleValue ] > 0 )
@@ -289,39 +284,6 @@ - (BOOL)isProfilingCorrelatedToTraces
289284
290285#if SENTRY_UIKIT_AVAILABLE
291286
292- - (void )setEnableUIViewControllerTracing : (BOOL )enableUIViewControllerTracing
293- {
294- # if SENTRY_HAS_UIKIT
295- _enableUIViewControllerTracing = enableUIViewControllerTracing;
296- # else
297- SENTRY_GRACEFUL_FATAL (
298- @" enableUIViewControllerTracing only works with UIKit enabled. Ensure you're "
299- @" using the right configuration of Sentry that links UIKit." );
300- # endif // SENTRY_HAS_UIKIT
301- }
302-
303- - (void )setAttachScreenshot : (BOOL )attachScreenshot
304- {
305- # if SENTRY_HAS_UIKIT
306- _attachScreenshot = attachScreenshot;
307- # else
308- SENTRY_GRACEFUL_FATAL (
309- @" attachScreenshot only works with UIKit enabled. Ensure you're using the "
310- @" right configuration of Sentry that links UIKit." );
311- # endif // SENTRY_HAS_UIKIT
312- }
313-
314- - (void )setAttachViewHierarchy : (BOOL )attachViewHierarchy
315- {
316- # if SENTRY_HAS_UIKIT
317- _attachViewHierarchy = attachViewHierarchy;
318- # else
319- SENTRY_GRACEFUL_FATAL (
320- @" attachViewHierarchy only works with UIKit enabled. Ensure you're using the "
321- @" right configuration of Sentry that links UIKit." );
322- # endif // SENTRY_HAS_UIKIT
323- }
324-
325287# if SENTRY_TARGET_REPLAY_SUPPORTED
326288
327289- (BOOL )enableViewRendererV2
@@ -336,39 +298,6 @@ - (BOOL)enableFastViewRendering
336298
337299# endif // SENTRY_TARGET_REPLAY_SUPPORTED
338300
339- - (void )setEnableUserInteractionTracing : (BOOL )enableUserInteractionTracing
340- {
341- # if SENTRY_HAS_UIKIT
342- _enableUserInteractionTracing = enableUserInteractionTracing;
343- # else
344- SENTRY_GRACEFUL_FATAL (
345- @" enableUserInteractionTracing only works with UIKit enabled. Ensure you're "
346- @" using the right configuration of Sentry that links UIKit." );
347- # endif // SENTRY_HAS_UIKIT
348- }
349-
350- - (void )setIdleTimeout : (NSTimeInterval )idleTimeout
351- {
352- # if SENTRY_HAS_UIKIT
353- _idleTimeout = idleTimeout;
354- # else
355- SENTRY_GRACEFUL_FATAL (
356- @" idleTimeout only works with UIKit enabled. Ensure you're using the right "
357- @" configuration of Sentry that links UIKit." );
358- # endif // SENTRY_HAS_UIKIT
359- }
360-
361- - (void )setEnablePreWarmedAppStartTracing : (BOOL )enablePreWarmedAppStartTracing
362- {
363- # if SENTRY_HAS_UIKIT
364- _enablePreWarmedAppStartTracing = enablePreWarmedAppStartTracing;
365- # else
366- SENTRY_GRACEFUL_FATAL (
367- @" enablePreWarmedAppStartTracing only works with UIKit enabled. Ensure you're "
368- @" using the right configuration of Sentry that links UIKit." );
369- # endif // SENTRY_HAS_UIKIT
370- }
371-
372301#endif // SENTRY_UIKIT_AVAILABLE
373302
374303- (void )setEnableSpotlight : (BOOL )value
0 commit comments