SourceAnalyticsApiAccessor
@objcMembers
@objc(BPASourceAnalyticsApiAccessor)
public class SourceAnalyticsApiAccessor : NSObject
Provides an ObjC way of accessing the Analytics
namespace for a given Source
instance.
-
Allows access to the Analytics APIs from Obj-C.
Returns
nil
if Analytics is not enabled for the givenSource
instanceDeclaration
Swift
public static func from(source: Source) -> SourceAnalyticsApi?
Parameters
source
The
Source
instance for which theSourceAnalyticsApi
should be returned