mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2025-07-27 14:45:34 +00:00
26 lines
543 B
Objective-C
26 lines
543 B
Objective-C
//
|
|
// AppAssetResponse.m
|
|
// Limelight
|
|
//
|
|
// Created by Diego Waxemberg on 2/1/15.
|
|
// Copyright (c) 2015 Limelight Stream. All rights reserved.
|
|
//
|
|
|
|
#import "AppAssetResponse.h"
|
|
|
|
@implementation AppAssetResponse
|
|
@synthesize data, statusCode, statusMessage;
|
|
|
|
- (void)populateWithData:(NSData *)imageData {
|
|
self.data = imageData;
|
|
self.statusMessage = @"App asset has no status message";
|
|
self.statusCode = -1;
|
|
}
|
|
|
|
- (UIImage*) getImage {
|
|
UIImage* appImage = [[UIImage alloc] initWithData:self.data];
|
|
return appImage;
|
|
}
|
|
|
|
@end
|