StarPlayerLicense

Objective-C

@interface StarPlayerLicense : NSObject

/**
 * 라이센스 인증 요청 (서버)
 * @note
 * 라이센스 인증 완료후 플레이어의 온/오프라인 재생 가능
 * 라이센스 인증을 선행하지 않으면 플레이어 재생을 할 수 없음
 * @param license 라이센스
 * @param completion 결과 콜백, 실패시 StarPlayerError return
 */
+ (void)authTheLicenseAtServer:(NSString *)license completion:(void(^)(BOOL isSuccess, StarPlayerError* error))completion;
@end

Swift

class StarPlayerLicense

Undocumented

  • 라이센스 인증 요청 (서버) @note 라이센스 인증 완료후 플레이어의 온/오프라인 재생 가능 라이센스 인증을 선행하지 않으면 플레이어 재생을 할 수 없음

    Declaration

    Objective-C

    + (void)authTheLicenseAtServer:(NSString *)license
                        completion:(void (^)(BOOL, StarPlayerError *))completion;

    Swift

    class func authTheLicense(atServer license: Any!) async -> (Int32, StarPlayerError?)

    Parameters

    license

    라이센스

    completion

    결과 콜백, 실패시 StarPlayerError return