BNBAndroidHardwareBuffer

Objective-C

@interface BNBAndroidHardwareBuffer : NSObject

+ (nullable BNBAndroidHardwareBuffer *)create:(int32_t)width
                                       height:(int32_t)height;

- (void)destroy;

- (BOOL)unlock;

- (BOOL)isLocked;

- (int32_t)width;

- (int32_t)height;

@end

Swift

class BNBAndroidHardwareBuffer : NSObject

Undocumented

  • Undocumented

    Declaration

    Objective-C

    + (nullable BNBAndroidHardwareBuffer *)create:(int32_t)width
                                           height:(int32_t)height;

    Swift

    class func create(_ width: Int32, height: Int32) -> BNBAndroidHardwareBuffer?
  • Undocumented

    Declaration

    Objective-C

    - (void)destroy;

    Swift

    func destroy()
  • Undocumented

    Declaration

    Objective-C

    - (BOOL)unlock;

    Swift

    func unlock() -> Bool
  • Undocumented

    Declaration

    Objective-C

    - (BOOL)isLocked;

    Swift

    func isLocked() -> Bool
  • Undocumented

    Declaration

    Objective-C

    - (int32_t)width;

    Swift

    func width() -> Int32
  • Undocumented

    Declaration

    Objective-C

    - (int32_t)height;

    Swift

    func height() -> Int32