WABlobContainer Class Reference
Inherits from | NSObject |
Declared in | WABlobContainer.h |
Tasks
-
name
The name of the container.
property -
URL
The address of the container.
property -
sharedAccessSigniture
The shared access signiture for the container.
property -
metadata
The metadata for the container.
property -
properties
The properties for the container.
property -
– setValue:forMetadataKey:
Sets a value to the container metadata dictionary.
-
– removeMetadataForKey:
Removes a given key and its associated value from the dictionary.
-
– initContainerWithName:
Initializes a newly created WABlobContainer with a name.
-
– initContainerWithName:URL:
Initializes a newly created WABlobContainer with a name.
-
– initContainerWithName:URL:sharedAccessSigniture:
Initializes a newly created WABlobContainer with a name, address and metadata for the container.
-
– initContainerWithName:URL:sharedAccessSigniture:properties:
Initializes a newly created WABlobContainer with a name, address, metadata for the container.
Properties
metadata
The metadata for the container.
@property (readonly) NSDictionary *metadata
Declared In
WABlobContainer.h
properties
The properties for the container.
@property (readonly) NSDictionary *properties
Declared In
WABlobContainer.h
Instance Methods
initContainerWithName:
Initializes a newly created WABlobContainer with a name.
- (id)initContainerWithName:(NSString *)name
Parameters
- name
The name of the container.
Return Value
The newly initialized WABlobContainer object.
Declared In
WABlobContainer.h
initContainerWithName:URL:
Initializes a newly created WABlobContainer with a name.
- (id)initContainerWithName:(NSString *)name URL:(NSString *)URL
Return Value
The newly initialized WABlobContainer object.
Declared In
WABlobContainer.h
initContainerWithName:URL:sharedAccessSigniture:
Initializes a newly created WABlobContainer with a name, address and metadata for the container.
- (id)initContainerWithName:(NSString *)name URL:(NSString *)URL sharedAccessSigniture:(NSString *)sharedAccessSigniture
Parameters
- name
The name of the container.
- URL
The address of the container.
- sharedAccessSigniture
The container’s shared access signiture.
@discussion This sharedAccessSigniture is only valid when using a proxy
Return Value
The newly initialized WABlobContainer object.
Declared In
WABlobContainer.h
initContainerWithName:URL:sharedAccessSigniture:properties:
Initializes a newly created WABlobContainer with a name, address, metadata for the container.
- (id)initContainerWithName:(NSString *)name URL:(NSString *)URL sharedAccessSigniture:(NSString *)sharedAccessSigniture properties:(NSDictionary *)properties
Parameters
- name
The name of the container.
- URL
The address of the container.
- sharedAccessSigniture
The container’s metadata.
- properties
The properties for the container.
@discussion This sharedAccessSigniture is only valid when using a proxy
Return Value
The newly initialized WABlobContainer object.
Declared In
WABlobContainer.h
removeMetadataForKey:
Removes a given key and its associated value from the dictionary.
- (void)removeMetadataForKey:(NSString *)key
Parameters
- key
The key to remove.
@discussion Does nothing if key does not exist.
Declared In
WABlobContainer.h
setValue:forMetadataKey:
Sets a value to the container metadata dictionary.
- (void)setValue:(NSString *)value forMetadataKey:(NSString *)key
Parameters
- value
The value for the key.
- key
The key for the value.
@discussion Raises an NSInvalidArgumentException if aKey or anObject is nil. If you need to represent a nil value in the dictionary, use NSNull. If aKey already exists in the dictionary, the dictionary’s previous value object for that key is sent a release message and anObject takes its place.
Declared In
WABlobContainer.h